Fix folders path (#97)

old-stable24
Varun Patil 2022-10-23 10:33:14 -07:00
parent 4829ce9da1
commit 2503b21e48
1 changed files with 2 additions and 1 deletions

View File

@ -459,8 +459,9 @@ export default class Timeline extends Mixins(GlobalMixin, UserConfig) {
// Folder
if (this.$route.name === 'folders') {
let path: any = this.config_foldersPath + (this.$route.params.path || '/');
let path: any = this.$route.params.path || '/';
path = typeof path === 'string' ? path : path.join('/');
path = this.config_foldersPath + '/' + path;
query.set('folder', path);
}