Skip to content

Commit cf8276d

Browse files
committed
fix: missing type on node
1 parent ddb2e5e commit cf8276d

File tree

1 file changed

+2
-0
lines changed
  • client/src/components/pages/flow-detail/node-dialog

1 file changed

+2
-0
lines changed

client/src/components/pages/flow-detail/node-dialog/message.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export const MessageDialogContent = () => {
8484
[currentLang]: {
8585
...selectedNode?.data.contents[currentLang],
8686
message: debounce,
87+
type: EMessageTypes.TEXT,
8788
},
8889
},
8990
},
@@ -156,6 +157,7 @@ export const MessageDialogContent = () => {
156157
clonedNode.data.contents[currentLang] = {
157158
...clonedNode.data.contents[currentLang],
158159
buttons,
160+
type: EMessageTypes.BUTTONS,
159161
}
160162

161163
handleChangeSelectedNode(clonedNode)

0 commit comments

Comments
 (0)