diff --git a/frontend/src/components/visual-editor/form/inputs/triggers/PostbackInput.tsx b/frontend/src/components/visual-editor/form/inputs/triggers/PostbackInput.tsx index e609afb..dd25d24 100644 --- a/frontend/src/components/visual-editor/form/inputs/triggers/PostbackInput.tsx +++ b/frontend/src/components/visual-editor/form/inputs/triggers/PostbackInput.tsx @@ -131,10 +131,10 @@ export const PostbackInput = ({ value, onChange }: PostbackInputProps) => { [block?.previousBlocks], ); const menuOptions = menu - .filter((menu) => menu.payload) - .map(({ payload, title }) => ({ - id: payload as string, - label: title as string, + .filter(({ payload }) => payload) + .map(({ title }) => ({ + id: title, + label: title, group: "menu", })); const contentOptions = useMemo(