Skip to content

Conversation

@bulatgab
Copy link
Collaborator

If a block is deleted, clear any DecisionBranchBlock references to it

Copy link
Collaborator

@AlteaDown AlteaDown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, pending the changes we discussed.

// Redraw all connections related to that block:
// this.resetJsPlumbBindings(true, app.ui.mostRecentlyDeletedBlock.jsKey)

this.undoDeleteDecisionBranchBlockReferencesIfAny()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bulatgab , I'm curious how you identified the change should be in this legacy file ?
This is not called anywhere in the code as I know. https://github.com/FLOIP/flow-builder/blob/master/src/views/InteractionDesigner.vue#L56

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, I forgot to confirm this review last week, so it was still pending

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants