mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 01:36:03 +02:00
fix(frontend): 投稿フォームでファイルのアップロードが中止または失敗した際のハンドリングを修正
This commit is contained in:
@@ -907,6 +907,11 @@ async function post(ev?: MouseEvent) {
|
||||
|
||||
if (uploader.items.value.some(x => x.uploaded == null)) {
|
||||
await uploadFiles();
|
||||
|
||||
// アップロード失敗したものがあったら中止
|
||||
if (uploader.items.value.some(x => x.uploaded == null)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
let postData = {
|
||||
|
||||
Reference in New Issue
Block a user