diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 71813bcf..42a39896 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -1,37 +1,37 @@ diff --git a/frontend/src/views/files/Preview.vue b/frontend/src/views/files/Preview.vue index 6422ac5a..b3eb5af1 100644 --- a/frontend/src/views/files/Preview.vue +++ b/frontend/src/views/files/Preview.vue @@ -344,8 +344,9 @@ export default { close() { this.$store.commit("updateRequest", {}); - let uri = url.removeLastDir(this.$route.path) + "/"; - this.$router.push({ path: uri }); + // let uri = url.removeLastDir(this.$route.path) + "/"; + // this.$router.push({ path: uri }); + window.close(); }, download() { window.open(this.downloadUrl);