diff --git a/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/JSFunctionRun.tsx b/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/JSFunctionRun.tsx index 1d6df06fec..08ef2159f8 100644 --- a/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/JSFunctionRun.tsx +++ b/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/JSFunctionRun.tsx @@ -69,15 +69,17 @@ export const JSFunctionRun = (props: Props) => { {props.selected.label} - - {props.options.map((option) => ( - - ))} - + {!!props.options.length && ( + + {props.options.map((option) => ( + + ))} + + )}