diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-16 20:07:54 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-16 20:07:54 +0900 |
| commit | b5cadeca2e02f88d46625f27c3fcc796e45c2526 (patch) | |
| tree | 6f21c1bc90c368079ac14d4c0112a52dc99fbfdd /src | |
| parent | fix(client): タッチ操作でウィンドウを閉じることができな... (diff) | |
| download | sharkey-b5cadeca2e02f88d46625f27c3fcc796e45c2526.tar.gz sharkey-b5cadeca2e02f88d46625f27c3fcc796e45c2526.tar.bz2 sharkey-b5cadeca2e02f88d46625f27c3fcc796e45c2526.zip | |
fix(client): コントロールパネルでファイルを削除した際の表示を修正
Fix #7631
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/pages/instance/file-dialog.vue | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/pages/instance/file-dialog.vue b/src/client/pages/instance/file-dialog.vue index be6bf6cbf2..8a03a11de7 100644 --- a/src/client/pages/instance/file-dialog.vue +++ b/src/client/pages/instance/file-dialog.vue @@ -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); }); }, |