filemanager: do not rely on history when closing viewers
This commit is contained in:
@@ -34,7 +34,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
onClose() {
|
||||
this.$router.go(-1);
|
||||
location.replace('#/home' + location.hash.slice('#/viewer'.length, location.hash.lastIndexOf('/')+1));
|
||||
},
|
||||
async saveHandler(item, content) {
|
||||
await this.directoryModel.save(this.filePath, content);
|
||||
|
||||
Reference in New Issue
Block a user