mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 04:10:39 +01:00
Fix #5353
This commit is contained in:
parent
dc11f1afbf
commit
a08c20d9af
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -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', {
|
||||
|
|
Loading…
Reference in a new issue