Browse Source

chore(nc-gui): remove console

pull/9265/head
Ramesh Mane 3 months ago
parent
commit
4a09db167a
  1. 2
      packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue
  2. 2
      packages/nc-gui/composables/useIntegrationsStore.ts

2
packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue

@ -398,7 +398,7 @@ onKeyStroke('ArrowDown', onDown)
</div> </div>
</td> </td>
<td class="cell-type"> <td class="cell-type">
<div :title="integration.sub_type"> <div>
<NcBadge rounded="lg" class="flex items-center gap-2 px-0 py-1 !h-7 truncate !border-transparent"> <NcBadge rounded="lg" class="flex items-center gap-2 px-0 py-1 !h-7 truncate !border-transparent">
<GeneralIntegrationIcon :type="integration.sub_type" /> <GeneralIntegrationIcon :type="integration.sub_type" />
<NcTooltip placement="bottom" show-on-truncate-only class="text-sm truncate"> <NcTooltip placement="bottom" show-on-truncate-only class="text-sm truncate">

2
packages/nc-gui/composables/useIntegrationsStore.ts

@ -155,9 +155,7 @@ const [useProvideIntegrationViewStore, _useIntegrationStore] = useInjectionState
} }
} }
const addIntegration = (type: IntegrationsSubType) => { const addIntegration = (type: IntegrationsSubType) => {
console.log('add integration', type)
activeIntegration.value = defaultValues(type) activeIntegration.value = defaultValues(type)
console.log('integration', activeIntegration.value)
pageMode.value = IntegrationsPageMode.ADD pageMode.value = IntegrationsPageMode.ADD
$e('c:integration:add') $e('c:integration:add')
} }

Loading…
Cancel
Save