[Fix][UI Next][V1.0.0-Beta] Fix console bug after deleting a node from the context menu. (#9932)
This commit is contained in:
parent
cac3f780e5
commit
8215fa8e6f
|
|
@ -120,7 +120,7 @@ export function useTaskEdit(options: Options) {
|
|||
process.postTaskCode === code || process.preTaskCode === code
|
||||
)
|
||||
})
|
||||
cells.forEach((cell) => {
|
||||
cells?.forEach((cell) => {
|
||||
if (cell.isEdge()) {
|
||||
const preTaskCode = cell.getSourceCellId()
|
||||
const postTaskCode = cell.getTargetCellId()
|
||||
|
|
|
|||
Loading…
Reference in New Issue