From 1b918d53b712a8b2cc5ae56ece0de1633e48407f Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Wed, 7 Aug 2024 11:22:41 +0000 Subject: [PATCH] fix(nc-gui): show modal for request integration --- .../settings/data-sources/CreateBase.vue | 10 +- .../workspace/integrations/ConnectionsTab.vue | 6 +- .../integrations/IntegrationsTab.vue | 211 ++++++------------ 3 files changed, 77 insertions(+), 150 deletions(-) diff --git a/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue b/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue index d59e499e9a..a396cd1049 100644 --- a/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue +++ b/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue @@ -416,9 +416,7 @@ function handleAutoScroll(scroll: boolean, className: string) { } } -const filterIntegrationCategory = (c: IntegrationCategoryItemType) => - [IntegrationCategoryType.DATABASE, IntegrationCategoryType.OTHERS].includes(c.value) -const filterIntegration = (c: IntegrationItemType) => c.categories.includes(IntegrationCategoryType.DATABASE) +const filterIntegrationCategory = (c: IntegrationCategoryItemType) => [IntegrationCategoryType.DATABASE].includes(c.value)