fix(client): コントロールパネルでファイルを削除した際の表示を修正

Fix #7631
This commit is contained in:
syuilo
2021-08-16 20:07:54 +09:00
parent c8e93054bc
commit b5cadeca2e
2 changed files with 2 additions and 3 deletions

View File

@ -93,10 +93,8 @@ export default defineComponent({
});
if (canceled) return;
os.api('drive/files/delete', {
os.apiWithDialog('drive/files/delete', {
fileId: this.file.id
}).then(() => {
this.$refs.files.removeItem(x => x.id === this.file.id);
});
},