From 6784dd09f471a8d0b66906470686be66d6b51973 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 26 Apr 2020 14:19:44 -0400 Subject: [PATCH] fix: add directory page to browse menu --- client/themes/default/components/nav-sidebar.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/themes/default/components/nav-sidebar.vue b/client/themes/default/components/nav-sidebar.vue index 279374c3..aa96490b 100644 --- a/client/themes/default/components/nav-sidebar.vue +++ b/client/themes/default/components/nav-sidebar.vue @@ -30,6 +30,10 @@ v-icon(small) mdi-folder-open v-list-item-title {{ item.title }} 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')}} template(v-for='item of currentItems') v-list-item(v-if='item.isFolder', :key='`childfolder-` + item.id', @click='fetchBrowseItems(item)')