From f51e746f81deeb5756ceb24ee6d8780143211fdd Mon Sep 17 00:00:00 2001
From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
Date: Tue, 20 Aug 2024 14:52:31 +0530
Subject: [PATCH] fix(nc-gui): disable duplicate connection for sqlite
---
.../workspace/integrations/ConnectionsTab.vue | 28 ++++++++++++++++---
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue b/packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue
index 8e506a4b42..6980bbc198 100644
--- a/packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue
+++ b/packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue
@@ -501,10 +501,30 @@ onKeyStroke('ArrowDown', onDown)
{{ $t('general.edit') }}
-
-
- {{ $t('general.duplicate') }}
-
+
+
+ Not allowed for type
+ {{
+ integration.sub_type && clientTypesMap[integration.sub_type]
+ ? clientTypesMap[integration.sub_type]?.text
+ : integration.sub_type
+ }}
+
+
+
+
+ {{ $t('general.duplicate') }}
+
+