diff --git a/packages/nc-gui/components/smartsheet/Gallery.vue b/packages/nc-gui/components/smartsheet/Gallery.vue index cc00c0b43c..2edd0152e5 100644 --- a/packages/nc-gui/components/smartsheet/Gallery.vue +++ b/packages/nc-gui/components/smartsheet/Gallery.vue @@ -52,7 +52,7 @@ const { provide(IsFormInj, ref(false)) provide(IsGalleryInj, ref(true)) -provide(IsGridInj, ref(false)) +// provide(IsGridInj, ref(false)) provide(PaginationDataInj, paginationData) provide(ChangePageInj, changePage) diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 304daa4b8e..f80e92f5af 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -348,7 +348,7 @@ provide(IsFormInj, ref(false)) provide(IsGalleryInj, ref(false)) -provide(IsGridInj, ref(true)) +// provide(IsGridInj, ref(true)) provide(PaginationDataInj, paginationData) diff --git a/packages/nc-gui/components/smartsheet/Kanban.vue b/packages/nc-gui/components/smartsheet/Kanban.vue index 7ba8adbc50..52a3c9ddae 100644 --- a/packages/nc-gui/components/smartsheet/Kanban.vue +++ b/packages/nc-gui/components/smartsheet/Kanban.vue @@ -81,7 +81,7 @@ provide(IsFormInj, ref(false)) provide(IsGalleryInj, ref(false)) -provide(IsGridInj, ref(false)) +// provide(IsGridInj, ref(false)) provide(IsKanbanInj, ref(true)) diff --git a/packages/nc-gui/components/smartsheet/Map.vue b/packages/nc-gui/components/smartsheet/Map.vue index 5014fdc70b..872c9bf292 100644 --- a/packages/nc-gui/components/smartsheet/Map.vue +++ b/packages/nc-gui/components/smartsheet/Map.vue @@ -3,16 +3,10 @@ import 'leaflet/dist/leaflet.css' import L, { LatLng } from 'leaflet' import 'leaflet.markercluster' import { ViewTypes } from 'nocodb-sdk' -import { IsGalleryInj, IsGridInj, IsMapInj, OpenNewRecordFormHookInj, onMounted, provide, ref } from '#imports' +import { OpenNewRecordFormHookInj, onMounted, provide, ref } from '#imports' import type { Row as RowType } from '~/lib' import { latLongToJoinedString } from '~~/utils/geoDataUtils' -provide(IsGalleryInj, ref(false)) - -provide(IsGridInj, ref(false)) - -provide(IsMapInj, ref(true)) - const route = useRoute() const router = useRouter() diff --git a/packages/nc-gui/context/index.ts b/packages/nc-gui/context/index.ts index ecf93ddc25..83bd827ecd 100644 --- a/packages/nc-gui/context/index.ts +++ b/packages/nc-gui/context/index.ts @@ -16,7 +16,6 @@ export const ChangePageInj: InjectionKey['changeP export const IsFormInj: InjectionKey> = Symbol('is-form-injection') export const IsGridInj: InjectionKey> = Symbol('is-grid-injection') export const IsGalleryInj: InjectionKey> = Symbol('is-gallery-injection') -export const IsMapInj: InjectionKey> = Symbol('is-map-injection') export const IsKanbanInj: InjectionKey> = Symbol('is-kanban-injection') export const IsLockedInj: InjectionKey> = Symbol('is-locked-injection') export const CellValueInj: InjectionKey> = Symbol('cell-value-injection')