fix: add directory page to browse menu
This commit is contained in:
parent
a3a1dc1267
commit
6784dd09f4
@ -30,6 +30,10 @@
|
|||||||
v-icon(small) mdi-folder-open
|
v-icon(small) mdi-folder-open
|
||||||
v-list-item-title {{ item.title }}
|
v-list-item-title {{ item.title }}
|
||||||
v-divider.mt-2
|
v-divider.mt-2
|
||||||
|
v-list-item.mt-2(v-if='currentParent.pageId > 0', :href='`/` + currentParent.path', :key='`directorypage-` + currentParent.id', :input-value='path === currentParent.path')
|
||||||
|
v-list-item-avatar(size='24')
|
||||||
|
v-icon mdi-text-box
|
||||||
|
v-list-item-title {{ currentParent.title }}
|
||||||
v-subheader.pl-4 {{$t('common:sidebar.currentDirectory')}}
|
v-subheader.pl-4 {{$t('common:sidebar.currentDirectory')}}
|
||||||
template(v-for='item of currentItems')
|
template(v-for='item of currentItems')
|
||||||
v-list-item(v-if='item.isFolder', :key='`childfolder-` + item.id', @click='fetchBrowseItems(item)')
|
v-list-item(v-if='item.isFolder', :key='`childfolder-` + item.id', @click='fetchBrowseItems(item)')
|
||||||
|
Loading…
Reference in New Issue
Block a user