Fix loading state in S3 upload component and show error if possible

This commit is contained in:
Andrew Kingston 2022-03-07 09:57:15 +00:00
parent 1e2d745001
commit d011e2e63e
2 changed files with 2693 additions and 1 deletions

View File

@ -81,7 +81,10 @@
loading = false
return res
} catch (error) {
notificationStore.actions.error(`Error uploading file: ${error}`)
notificationStore.actions.error(
`Error uploading file: ${error?.message || error}`
)
loading = false
}
}

2689
packages/client/stats.html Normal file

File diff suppressed because one or more lines are too long