Browse Source

chore(nc-gui): remove unused import / variables

pull/4192/head
Wing-Kam Wong 2 years ago
parent
commit
49a94eeec0
  1. 1
      packages/nc-gui/components/smartsheet/Cell.vue
  2. 3
      packages/nc-gui/components/smartsheet/Gallery.vue
  3. 1
      packages/nc-gui/components/smartsheet/Kanban.vue

1
packages/nc-gui/components/smartsheet/Cell.vue

@ -1,6 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
import type { ColumnType } from 'nocodb-sdk' import type { ColumnType } from 'nocodb-sdk'
import { UITypes } from 'nocodb-sdk'
import { import {
ActiveCellInj, ActiveCellInj,
ColumnInj, ColumnInj,

3
packages/nc-gui/components/smartsheet/Gallery.vue

@ -10,7 +10,6 @@ import {
MetaInj, MetaInj,
OpenNewRecordFormHookInj, OpenNewRecordFormHookInj,
PaginationDataInj, PaginationDataInj,
ReadonlyInj,
ReloadRowDataHookInj, ReloadRowDataHookInj,
ReloadViewDataHookInj, ReloadViewDataHookInj,
ReloadViewMetaHookInj, ReloadViewMetaHookInj,
@ -51,8 +50,6 @@ const {
addEmptyRow, addEmptyRow,
} = useViewData(meta, view) } = useViewData(meta, view)
const { isUIAllowed } = useUIPermission()
provide(IsFormInj, ref(false)) provide(IsFormInj, ref(false))
provide(IsGalleryInj, ref(true)) provide(IsGalleryInj, ref(true))
provide(IsGridInj, ref(false)) provide(IsGridInj, ref(false))

1
packages/nc-gui/components/smartsheet/Kanban.vue

@ -12,7 +12,6 @@ import {
IsPublicInj, IsPublicInj,
MetaInj, MetaInj,
OpenNewRecordFormHookInj, OpenNewRecordFormHookInj,
ReadonlyInj,
inject, inject,
onBeforeMount, onBeforeMount,
onBeforeUnmount, onBeforeUnmount,

Loading…
Cancel
Save