grid and list view working

This commit is contained in:
Milos Holba
2020-12-07 14:23:29 +01:00
parent 527dfeef9f
commit 97d500028a
5 changed files with 234 additions and 65 deletions
+7
View File
@@ -307,6 +307,13 @@ const Helpers = {
}
return validated
}
Vue.prototype.$getDataByLocation = function() {
let previousFolder = store.getters.browseHistory
if(this.$isThisLocation('base')){
this.$store.dispatch('getFolder', [{folder: previousFolder, back: true, init: false}])
}
}
}
}