mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 00:56:57 +00:00
chore: sync various (#9864)
* chore: sync various Signed-off-by: mertmit <mertmit99@gmail.com> * test: ws scope Signed-off-by: mertmit <mertmit99@gmail.com> * fix(nc-gui): ncSubmenu right icon visibility issue * fix(nc-gui): use viewTypeAlias in all the places --------- Signed-off-by: mertmit <mertmit99@gmail.com> Co-authored-by: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
This commit is contained in:
@@ -28,8 +28,15 @@ const vOpen = useVModel(props, 'open', emit)
|
||||
|
||||
const connectionType = computed(() => props.connectionType ?? ClientType.MYSQL)
|
||||
|
||||
const { isFromIntegrationPage, pageMode, IntegrationsPageMode, activeIntegration, saveIntegration, updateIntegration } =
|
||||
useIntegrationStore()
|
||||
const {
|
||||
isFromIntegrationPage,
|
||||
pageMode,
|
||||
IntegrationsPageMode,
|
||||
activeIntegration,
|
||||
saveIntegration,
|
||||
updateIntegration,
|
||||
integrationsIconMap,
|
||||
} = useIntegrationStore()
|
||||
|
||||
const isEditMode = computed(() => pageMode.value === IntegrationsPageMode.EDIT)
|
||||
|
||||
@@ -482,7 +489,7 @@ const activeIntegrationIcon = computed(() => {
|
||||
? activeIntegration.value?.sub_type || activeIntegration.value?.config?.client
|
||||
: activeIntegration.value?.type
|
||||
|
||||
return allIntegrationsMapByValue[activeIntegrationType]?.icon
|
||||
return integrationsIconMap[activeIntegrationType]
|
||||
})
|
||||
|
||||
// reset test status on config change
|
||||
@@ -561,7 +568,6 @@ watch(
|
||||
>
|
||||
<GeneralIcon icon="arrowLeft" />
|
||||
</NcButton>
|
||||
|
||||
<div
|
||||
v-if="activeIntegrationIcon"
|
||||
class="h-8 w-8 flex items-center justify-center children:flex-none bg-gray-200 rounded-lg"
|
||||
|
||||
Reference in New Issue
Block a user