Browse Source

fix: Added isDefaultBase util to FE

pull/6444/head
Muhammed Mustafa 1 year ago
parent
commit
85fb294f7a
  1. 2
      packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
  2. 13
      packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue

2
packages/nc-gui/components/dashboard/TreeView/ViewsList.vue

@ -4,8 +4,8 @@ import { ViewTypes } from 'nocodb-sdk'
import type { SortableEvent } from 'sortablejs'
import Sortable from 'sortablejs'
import type { Menu as AntMenu } from 'ant-design-vue'
import { isDefaultBase as _isDefaultBase } from '~/utils/baseUtils'
import {
isDefaultBase as _isDefaultBase,
extractSdkResponseErrorMsg,
message,
onMounted,

13
packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue

@ -2,8 +2,17 @@
import type { VNodeRef } from '@vue/runtime-core'
import type { KanbanType, ViewType, ViewTypes } from 'nocodb-sdk'
import type { WritableComputedRef } from '@vue/reactivity'
import { isDefaultBase as _isDefaultBase } from '~/utils/baseUtils'
import { IsLockedInj, inject, message, onKeyStroke, useDebounceFn, useNuxtApp, useRoles, useVModel } from '#imports'
import {
IsLockedInj,
isDefaultBase as _isDefaultBase,
inject,
message,
onKeyStroke,
useDebounceFn,
useNuxtApp,
useRoles,
useVModel,
} from '#imports'
interface Props {
view: ViewType

Loading…
Cancel
Save