fix: upload resouces double time (#204)
This commit is contained in:
parent
f303dc21a0
commit
5eea1339c9
@ -70,7 +70,6 @@ const ResourcesDialog: React.FC<Props> = (props: Props) => {
|
||||
});
|
||||
|
||||
for (const file of inputEl.files) {
|
||||
await resourceService.upload(file);
|
||||
try {
|
||||
await resourceService.upload(file);
|
||||
} catch (error: any) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user