Skip to content

Commit 40bbd3d

Browse files
authored
Merge pull request #60 from Dialogue-Bot/DIAL-42-implement-test-your-bot
fix: missing type on node
2 parents 04fd8d3 + cf8276d commit 40bbd3d

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)