Skip to content

Commit

Permalink
topmatter: hide folder breadcrumbs on single file
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Oct 24, 2023
1 parent 926e57f commit 1bc2510
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/top-matter/TopMatter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1bc2510

Please sign in to comment.