mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-15 23:28:16 +09:00
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', {
|
||||
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 New Issue
Block a user