diff --git a/packages/nc-gui/components/smartsheet/Map.vue b/packages/nc-gui/components/smartsheet/Map.vue index a8afa55eb7..64979996c1 100644 --- a/packages/nc-gui/components/smartsheet/Map.vue +++ b/packages/nc-gui/components/smartsheet/Map.vue @@ -4,7 +4,7 @@ import L, { LatLng } from 'leaflet' import 'leaflet.markercluster' import { ViewTypes } from 'nocodb-sdk' import { IsPublicInj, OpenNewRecordFormHookInj, latLongToJoinedString, onMounted, provide, ref } from '#imports' -import type { Row, Row as RowType } from '~/lib' +import type { Row } from '~/lib' const route = useRoute() @@ -37,7 +37,7 @@ const openNewRecordFormHook = inject(OpenNewRecordFormHookInj, createEventHook() const expandedFormDlg = ref(false) -const expandedFormRow = ref() +const expandedFormRow = ref() const expandedFormRowState = ref>() @@ -51,7 +51,7 @@ const getMapZoomLocalStorageKey = (viewId: string) => { } const getMapCenterLocalStorageKey = (viewId: string) => `mapView.${viewId}.center` -const expandForm = (row: RowType, state?: Record) => { +const expandForm = (row: Row, state?: Record) => { const rowId = extractPkFromRow(row.row, meta.value!.columns!) if (rowId) { router.push({ @@ -87,7 +87,7 @@ const expandedFormOnRowIdDlg = computed({ }, }) -const addMarker = (lat: number, long: number, row: RowType) => { +const addMarker = (lat: number, long: number, row: Row) => { if (markersClusterGroupRef.value == null) { throw new Error('Marker cluster is null') }