From 1bc251012cab09c4a74a004fe13fb866359d5497 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 24 Oct 2023 11:00:32 -0700 Subject: [PATCH] topmatter: hide folder breadcrumbs on single file Signed-off-by: Varun Patil --- src/components/top-matter/TopMatter.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/top-matter/TopMatter.vue b/src/components/top-matter/TopMatter.vue index 8f125521..4cb0b909 100644 --- a/src/components/top-matter/TopMatter.vue +++ b/src/components/top-matter/TopMatter.vue @@ -45,8 +45,9 @@ export default defineComponent({ currentmatter() { switch (this.$route.name) { case _m.routes.Folders.name: - case _m.routes.FolderShare.name: return FolderTopMatter; + case _m.routes.FolderShare.name: + return this.initstate.shareType === 'folder' ? FolderTopMatter : null; case _m.routes.Albums.name: return AlbumTopMatter; case _m.routes.Tags.name: