+
diff --git a/packages/nc-gui/components/extensions/Market/ExtensionsTab.vue b/packages/nc-gui/components/extensions/Market/ExtensionsTab.vue
index e008610bac..e492c6b0e9 100644
--- a/packages/nc-gui/components/extensions/Market/ExtensionsTab.vue
+++ b/packages/nc-gui/components/extensions/Market/ExtensionsTab.vue
@@ -43,7 +43,11 @@ const onAddExtension = (ext: any) => {
class="pb-2 grid gap-4"
:class="{
'h-full': searchQuery && !filteredAvailableExtensions.length && availableExtensions.length,
- 'grid-cols-1 md:grid-cols-2 xl:grid-cols-3': !(searchQuery && !filteredAvailableExtensions.length && availableExtensions.length),
+ 'grid-cols-1 md:grid-cols-2 xl:grid-cols-3': !(
+ searchQuery &&
+ !filteredAvailableExtensions.length &&
+ availableExtensions.length
+ ),
}"
>