diff --git a/app/client/src/pages/Editor/IDE/EditorPane/JS/List.tsx b/app/client/src/pages/Editor/IDE/EditorPane/JS/List.tsx
index e068499e4b5e..824cc6cc8eb3 100644
--- a/app/client/src/pages/Editor/IDE/EditorPane/JS/List.tsx
+++ b/app/client/src/pages/Editor/IDE/EditorPane/JS/List.tsx
@@ -61,6 +61,8 @@ const ListJSObjects = () => {
px="spaces-3"
py="spaces-3"
>
+ {(!itemGroups || itemGroups.length === 0) && }
+
{itemGroups && itemGroups.length > 0 ? (
{
) : null}
-
- {(!itemGroups || itemGroups.length === 0) && }
);
};
diff --git a/app/client/src/pages/Editor/IDE/EditorPane/Query/List.tsx b/app/client/src/pages/Editor/IDE/EditorPane/Query/List.tsx
index 6c169fabb679..d5f66c9e4d54 100644
--- a/app/client/src/pages/Editor/IDE/EditorPane/Query/List.tsx
+++ b/app/client/src/pages/Editor/IDE/EditorPane/Query/List.tsx
@@ -52,6 +52,8 @@ const ListQuery = () => {
px="spaces-3"
py="spaces-3"
>
+ {Object.keys(itemGroups).length === 0 && }
+
{itemGroups.length > 0 ? (
{
/>
) : null}
-
- {Object.keys(itemGroups).length === 0 && }
);
};