From a08c20d9aff5d558f43f449796ea4437ccca6932 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 2 Sep 2019 05:59:24 +0900 Subject: [PATCH] Fix #5353 --- src/client/app/mobile/views/components/drive.file-detail.vue | 2 +- src/client/app/mobile/views/components/drive.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/app/mobile/views/components/drive.file-detail.vue b/src/client/app/mobile/views/components/drive.file-detail.vue index b9960e5433..224ff2f058 100644 --- a/src/client/app/mobile/views/components/drive.file-detail.vue +++ b/src/client/app/mobile/views/components/drive.file-detail.vue @@ -122,7 +122,7 @@ export default Vue.extend({ this.$root.api('drive/files/delete', { fileId: this.file.id }).then(() => { - this.browser.cd(this.file.folderId, true); + this.browser.cd(this.file.folderId); }); }, diff --git a/src/client/app/mobile/views/components/drive.vue b/src/client/app/mobile/views/components/drive.vue index c10bef7b75..fe193f311a 100644 --- a/src/client/app/mobile/views/components/drive.vue +++ b/src/client/app/mobile/views/components/drive.vue @@ -163,8 +163,6 @@ export default Vue.extend({ }, cd(target, silent = false) { - this.file = null; - if (target == null) { this.goRoot(silent); return; @@ -172,6 +170,7 @@ export default Vue.extend({ target = target.id; } + this.file = null; this.fetching = true; this.$root.api('drive/folders/show', {