fix: move to correct position in sidebar when current page is also a folder

pull/7142/head
Roman Karwacik 2 months ago
parent f1161aed59
commit e7e0eec3d3

@ -216,6 +216,9 @@ export default {
this.loadedCache = [curPage.parent]
this.currentItems = _.filter(items, ['parent', curPage.parent])
this.$store.commit(`loadingStop`, 'browse-load')
if (curPage.isFolder) {
this.fetchBrowseItems(curPage)
}
},
goHome () {
window.location.assign(siteLangs.length > 0 ? `/${this.locale}/home` : '/')

Loading…
Cancel
Save