mirror of
https://github.com/directus/directus.git
synced 2026-02-18 09:11:56 -05:00
Fix warnings from ESLint (#8969)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { ref, defineComponent, PropType, watch, onMounted, onUnmounted, computed, toRefs } from 'vue';
|
||||
import { GEOMETRY_TYPES } from '@directus/shared/constants';
|
||||
import { Field, GeometryType, GeometryFormat, GeometryOptions } from '@directus/shared/types';
|
||||
import { Field, GeometryType, GeometryOptions } from '@directus/shared/types';
|
||||
import { getGeometryFormatForType } from '@/utils/geometry';
|
||||
import { getBasemapSources, getStyleFromBasemapSource } from '@/utils/geometry/basemap';
|
||||
import 'maplibre-gl/dist/maplibre-gl.css';
|
||||
|
||||
@@ -4,7 +4,7 @@ import MapOptions from './options.vue';
|
||||
import MapActions from './actions.vue';
|
||||
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { toRefs, computed, ref, watch, Ref } from 'vue';
|
||||
import { toRefs, computed, ref, watch } from 'vue';
|
||||
|
||||
import { toGeoJSON } from '@/utils/geometry';
|
||||
import { layers } from './style';
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
</template>
|
||||
|
||||
<navigation-item
|
||||
v-for="collection in childCollections"
|
||||
:key="collection.collection"
|
||||
:collection="collection"
|
||||
v-for="childCollection in childCollections"
|
||||
:key="childCollection.collection"
|
||||
:collection="childCollection"
|
||||
:search="search"
|
||||
/>
|
||||
<navigation-bookmark v-for="bookmark in childBookmarks" :key="bookmark.id" :bookmark="bookmark" />
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { defineComponent, computed, ref } from 'vue';
|
||||
import { defineComponent, computed } from 'vue';
|
||||
import CollectionsNavigation from '../components/navigation.vue';
|
||||
import { useUserStore } from '@/stores';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user