added Toggle Grid/List View into the spotlight

This commit is contained in:
Čarodej
2022-01-06 15:05:45 +01:00
parent 31ec9b4fda
commit 86dac75071
8 changed files with 45 additions and 19 deletions

View File

@@ -81,7 +81,7 @@ export default {
this.$getDataByLocation()
},
changePreview(previewType) {
this.$store.dispatch('changePreviewType', previewType)
this.$store.dispatch('togglePreviewType', previewType)
}
},
mounted() {