mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
Fixed issue where change in sorting option will duplicate the content in file view
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user