diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2019-09-02 05:59:24 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-09-02 05:59:24 +0900 |
| commit | a08c20d9aff5d558f43f449796ea4437ccca6932 (patch) | |
| tree | 972f9a922b150c9d584e1ce5d905c63cda2345d7 /src/client/app/mobile/views | |
| parent | Improve readavility (diff) | |
| download | sharkey-a08c20d9aff5d558f43f449796ea4437ccca6932.tar.gz sharkey-a08c20d9aff5d558f43f449796ea4437ccca6932.tar.bz2 sharkey-a08c20d9aff5d558f43f449796ea4437ccca6932.zip | |
Fix #5353
Diffstat (limited to 'src/client/app/mobile/views')
| -rw-r--r-- | src/client/app/mobile/views/components/drive.file-detail.vue | 2 | ||||
| -rw-r--r-- | 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', { |