diff --git a/frontend/src/Editor/QueryManager/QueryEditors/TooljetDatabase/DropDownSelect.jsx b/frontend/src/Editor/QueryManager/QueryEditors/TooljetDatabase/DropDownSelect.jsx index 60542a6d94..c5f8f7c694 100644 --- a/frontend/src/Editor/QueryManager/QueryEditors/TooljetDatabase/DropDownSelect.jsx +++ b/frontend/src/Editor/QueryManager/QueryEditors/TooljetDatabase/DropDownSelect.jsx @@ -242,7 +242,7 @@ const DropDownSelect = ({ style={{ position: 'relative', left: '-10px', - top: selected.label === null ? '0px' : '2px', + top: selected.label === null || selected.label === undefined ? '0px' : '2px', paddingLeft: '10px', paddingBottom: '4px', }} @@ -253,16 +253,16 @@ const DropDownSelect = ({ > - {selected.label === null ? 'Null' : selected.label} + {selected.label === null || selected.label === undefined ? 'Null' : selected.label} ) : (