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 3d7e5c6313
commit bed09f5f6c
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