Fix #5353
This commit is contained in:
parent
dc11f1afbf
commit
a08c20d9af
|
@ -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);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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', {
|
||||||
|
|
Loading…
Reference in New Issue