From c81ea94eaa5936d4e36ce0177ada9e11d66c7aef 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): update request integration tele event --- .../components/workspace/integrations/IntegrationsTab.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui/components/workspace/integrations/IntegrationsTab.vue b/packages/nc-gui/components/workspace/integrations/IntegrationsTab.vue index 1bc4194bde..1a08548b8f 100644 --- a/packages/nc-gui/components/workspace/integrations/IntegrationsTab.vue +++ b/packages/nc-gui/components/workspace/integrations/IntegrationsTab.vue @@ -100,17 +100,17 @@ const isAddNewIntegrationModalOpen = computed({ }, }) -const handleUpvote = (syncDataType: SyncDataType) => { +const handleUpvote = (category: IntegrationCategoryType, syncDataType: SyncDataType) => { if (upvotesData.value.has(syncDataType)) return - $e(`a:integration-request:${syncDataType}`) + $e(`a:integration-request:${category}:${syncDataType}`) updateSyncDataUpvotes([...syncDataUpvotes.value, syncDataType]) } const handleAddIntegration = (category: IntegrationCategoryType, integration: IntegrationItemType) => { if (!integration.isAvailable) { - handleUpvote(integration.value) + handleUpvote(category, integration.value) return }