Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo authored and mei23 committed Sep 2, 2019
1 parent 8eb9b24 commit 3180312
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
},
Expand Down
3 changes: 1 addition & 2 deletions src/client/app/mobile/views/components/drive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,14 @@ export default Vue.extend({
},
cd(target, silent = false) {
this.file = null;
if (target == null) {
this.goRoot(silent);
return;
} else if (typeof target == 'object') {
target = target.id;
}
this.file = null;
this.fetching = true;
this.$root.api('drive/folders/show', {
Expand Down

0 comments on commit 3180312

Please sign in to comment.