remove clear fileInfoDetail after load data , add clear fileInfoDetail after open another folder

This commit is contained in:
Milos Holba
2020-12-07 19:08:45 +01:00
parent 397fe6b7e4
commit 59ff07fb01
4 changed files with 27 additions and 145 deletions

View File

@@ -237,6 +237,10 @@ export default {
this.$downloadFile(this.data.file_url, this.data.name + '.' + this.data.mimetype)
} else if (this.isFolder) {
//Clear selected data after open another folder
this.$store.commit('CLEAR_FILEINFO_DETAIL')
if (this.$isThisLocation('public')) {
this.$store.dispatch('browseShared', [{ folder: this.data, back: false, init: false }])
} else {