dtm: check share type

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/888/head
Varun Patil 2023-10-19 23:02:26 -07:00
parent d1f15240b7
commit d048b7b3bf
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export default defineComponent({
},
currentmatter(): Component | null {
if (this.routeIsFolders || this.routeIsFolderShare) {
if (this.routeIsFolders || (this.routeIsFolderShare && this.initstate.shareType === 'folder')) {
return FolderDynamicTopMatter;
} else if (this.routeIsPlaces) {
return PlacesDynamicTopMatterVue;