navigation through public folders

This commit is contained in:
Peter Papp
2021-08-23 09:16:01 +02:00
parent 26e3194f21
commit a926545146
8 changed files with 285 additions and 201 deletions
@@ -90,7 +90,11 @@
},
methods: {
goToFolder() {
this.$router.push({name: 'Files', params: {id: this.nodes.id}})
if (this.$router.currentRoute.name === 'Public') {
this.$router.push({name: 'Public', params: {id: this.nodes.id}})
} else {
this.$router.push({name: 'Files', params: {id: this.nodes.id}})
}
},
dragFinish() {
// Move no selected item