diff --git a/package.json b/package.json index 3aeadde50..cda91fed7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@glific/flow-editor", "license": "AGPL-3.0", "repository": "git://github.com/glific/floweditor.git", - "version": "1.26.3-8", + "version": "1.26.3-9", "description": "'Standalone flow editing tool designed for use within the Glific suite of messaging tools'", "browser": "umd/flow-editor.min.js", "unpkg": "umd/flow-editor.min.js", diff --git a/src/components/flow/actions/sendinteractivemsg/SendInteractiveMsgForm.tsx b/src/components/flow/actions/sendinteractivemsg/SendInteractiveMsgForm.tsx index 05ab8a0bf..3abe48e6e 100644 --- a/src/components/flow/actions/sendinteractivemsg/SendInteractiveMsgForm.tsx +++ b/src/components/flow/actions/sendinteractivemsg/SendInteractiveMsgForm.tsx @@ -149,7 +149,7 @@ export default class SendMsgForm extends React.Component< if ( (this.props.nodeSettings.originalNode.ghost || this.props.nodeSettings.originalNode.node.exits[0].destination_uuid) && - interactiveMessageId !== originalAction.id + (!originalAction || interactiveMessageId !== originalAction.id) ) { this.props.resetNodeEditing(); this.props.updateRouter(