From 3b72ad8ded5c94352bbc4098cba3a267cadec58a Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Wed, 27 Nov 2024 14:53:25 +0100 Subject: [PATCH] fix: add new postback infinite Skeleton loading --- .../visual-editor/form/inputs/triggers/PostbackInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a326dd1..82022f2 100644 --- a/frontend/src/components/visual-editor/form/inputs/triggers/PostbackInput.tsx +++ b/frontend/src/components/visual-editor/form/inputs/triggers/PostbackInput.tsx @@ -183,7 +183,7 @@ export const PostbackInput = ({ value, onChange }: PostbackInputProps) => { ...menuOptions, ...contentOptions, ]; - const isOptionsReady = options.find((e) => e.id === value); + const isOptionsReady = !value || options.find((e) => e.id === value); if (!isOptionsReady) { return (