From 08fb5d4397d6d61d5b5a24bd40c1014fb04d0c64 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sun, 4 Jun 2023 11:18:45 -0700 Subject: [PATCH] map: use map icon for empty content Signed-off-by: Varun Patil --- src/components/top-matter/EmptyContent.vue | 3 +++ src/mixins/GlobalMixin.ts | 3 +++ src/vue-globals.d.ts | 1 + 3 files changed, 7 insertions(+) diff --git a/src/components/top-matter/EmptyContent.vue b/src/components/top-matter/EmptyContent.vue index ec478d0c..81e041d8 100644 --- a/src/components/top-matter/EmptyContent.vue +++ b/src/components/top-matter/EmptyContent.vue @@ -4,6 +4,7 @@ + @@ -18,6 +19,7 @@ import PeopleIcon from 'vue-material-design-icons/AccountMultiple.vue'; import ImageMultipleIcon from 'vue-material-design-icons/ImageMultiple.vue'; import ArchiveIcon from 'vue-material-design-icons/PackageDown.vue'; import AlbumIcon from 'vue-material-design-icons/ImageAlbum.vue'; +import MapIcon from 'vue-material-design-icons/Map.vue'; import * as strings from '../../services/strings'; @@ -31,6 +33,7 @@ export default defineComponent({ ArchiveIcon, ImageMultipleIcon, AlbumIcon, + MapIcon, }, computed: { diff --git a/src/mixins/GlobalMixin.ts b/src/mixins/GlobalMixin.ts index 5405cc9d..23af029e 100644 --- a/src/mixins/GlobalMixin.ts +++ b/src/mixins/GlobalMixin.ts @@ -31,6 +31,9 @@ export default defineComponent({ routeIsPlaces(): boolean { return this.$route.name === 'places'; }, + routeIsMap(): boolean { + return this.$route.name === 'map'; + }, routeIsTags(): boolean { return this.$route.name === 'tags'; }, diff --git a/src/vue-globals.d.ts b/src/vue-globals.d.ts index ed12757e..d5aaa330 100644 --- a/src/vue-globals.d.ts +++ b/src/vue-globals.d.ts @@ -17,6 +17,7 @@ declare module 'vue' { routeIsPeople: boolean; routeIsArchive: boolean; routeIsPlaces: boolean; + routeIsMap: boolean; routeIsTags: boolean; routeIsExplore: boolean; routeIsPublic: boolean;