Fix warnings from ESLint (#8969)

This commit is contained in:
Pascal Jufer
2021-10-20 15:23:42 +02:00
committed by GitHub
parent 84ba3d0032
commit 5a53d7007e
4 changed files with 6 additions and 6 deletions

View File

@@ -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';

View File

@@ -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';

View File

@@ -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" />

View File

@@ -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';