summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/views
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-09-02 05:59:24 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-09-02 05:59:24 +0900
commita08c20d9aff5d558f43f449796ea4437ccca6932 (patch)
tree972f9a922b150c9d584e1ce5d905c63cda2345d7 /src/client/app/mobile/views
parentImprove readavility (diff)
downloadsharkey-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.vue2
-rw-r--r--src/client/app/mobile/views/components/drive.vue3
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', {