Fixed issue where change in sorting option will duplicate the content in file view

This commit is contained in:
Čarodej
2022-06-22 12:38:54 +02:00
parent ca89117c77
commit 0485672a47
3 changed files with 7 additions and 5 deletions

View File

@@ -88,6 +88,8 @@ export default {
})
)
this.$store.commit('START_LOADING_VIEW')
// Update sorting state in vuex
this.$store.commit('UPDATE_SORTING')
@@ -97,7 +99,7 @@ export default {
// Get data of Navigator tree
this.$store.dispatch('getFolderTree')
this.$getDataByLocation()
this.$getDataByLocation(1)
},
changePreview(previewType) {
this.$store.dispatch('togglePreviewType', previewType)