This commit is contained in:
syuilo 2019-09-02 05:59:24 +09:00
parent dc11f1afbf
commit a08c20d9af
2 changed files with 2 additions and 3 deletions

View File

@ -122,7 +122,7 @@ export default Vue.extend({
this.$root.api('drive/files/delete', { this.$root.api('drive/files/delete', {
fileId: this.file.id fileId: this.file.id
}).then(() => { }).then(() => {
this.browser.cd(this.file.folderId, true); this.browser.cd(this.file.folderId);
}); });
}, },

View File

@ -163,8 +163,6 @@ export default Vue.extend({
}, },
cd(target, silent = false) { cd(target, silent = false) {
this.file = null;
if (target == null) { if (target == null) {
this.goRoot(silent); this.goRoot(silent);
return; return;
@ -172,6 +170,7 @@ export default Vue.extend({
target = target.id; target = target.id;
} }
this.file = null;
this.fetching = true; this.fetching = true;
this.$root.api('drive/folders/show', { this.$root.api('drive/folders/show', {