diff --git a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx index a9f0b881c9f..8b01cebced6 100644 --- a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx +++ b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx @@ -192,25 +192,27 @@ export function LogsSidebarMenuV2() { Create query - - - - - - - {!canCreateCollection && ( - - You need additional permissions to create a collection - - )} - + {warehouseEnabled && ( + + + + + + + {!canCreateCollection && ( + + You need additional permissions to create a collection + + )} + + )} ))} - {whCollectionsLoading ? ( + {whCollectionsLoading && warehouseEnabled ? (