topmatter: hide folder breadcrumbs on single file

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/888/head
Varun Patil 2023-10-24 11:00:32 -07:00
parent 926e57f896
commit 1bc251012c
1 changed files with 2 additions and 1 deletions

View File

@ -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: