Browse Source

fix(extensions): org chart: auto select active view

nc-org-chart-extension
amandesai01 2 days ago
parent
commit
3b4fba1242
  1. 2
      packages/nc-gui/composables/useExtensionHelper.ts

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

@ -29,6 +29,7 @@ const [useProvideExtensionHelper, useExtensionHelper] = useInjectionState(
const fullscreenModalSize = ref<keyof typeof modalSizes>(extensionManifest.value?.config?.modalSize || 'lg')
const activeTableId = computed(() => route.params.viewId as string | undefined)
const activeViewId = computed(() => route.params.viewTitle as string | undefined)
const collapsed = computed({
get: () => extension.value?.meta?.collapsed ?? false,
@ -225,6 +226,7 @@ const [useProvideExtensionHelper, useExtensionHelper] = useInjectionState(
showExpandBtn,
fullscreenModalSize,
activeTableId,
activeViewId,
getViewsForTable,
getData,
getTableMeta,

Loading…
Cancel
Save