From e69422b37af27974fab37eee6a387ef8c207dc81 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 23 May 2023 21:01:28 -0700 Subject: [PATCH] empty-content: add icon for albums Signed-off-by: Varun Patil --- src/components/top-matter/EmptyContent.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/top-matter/EmptyContent.vue b/src/components/top-matter/EmptyContent.vue index 9c5246f6..a64a78cc 100644 --- a/src/components/top-matter/EmptyContent.vue +++ b/src/components/top-matter/EmptyContent.vue @@ -3,6 +3,7 @@ @@ -16,6 +17,7 @@ import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'; 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 * as strings from '../../services/strings'; @@ -28,6 +30,7 @@ export default defineComponent({ PeopleIcon, ArchiveIcon, ImageMultipleIcon, + AlbumIcon, }, computed: { @@ -42,6 +45,10 @@ export default defineComponent({ routeIsArchive(): boolean { return this.$route.name === 'archive'; }, + + routeIsAlbums(): boolean { + return this.$route.name === 'albums'; + }, }, });