optimalize UI for preview and sorting options

This commit is contained in:
Milos Holba
2020-12-07 18:57:40 +01:00
parent 97d500028a
commit 418c072414
5 changed files with 68 additions and 154 deletions

View File

@@ -308,10 +308,10 @@ const Helpers = {
return validated
}
Vue.prototype.$getDataByLocation = function() {
let previousFolder = store.getters.browseHistory
let previousFolder = store.getters.currentFolder
if(this.$isThisLocation('base')){
this.$store.dispatch('getFolder', [{folder: previousFolder, back: true, init: false}])
this.$store.dispatch('getFolder', [{folder: previousFolder, back: false, init: false}])
}
}
}