mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 06:26:10 +02:00
🐛 Fix error screen on image upload failure
This commit is contained in:
parent
7e0a612818
commit
66559d3ce3
4 changed files with 10 additions and 1 deletions
|
@ -181,7 +181,9 @@
|
|||
(on-error error)
|
||||
|
||||
:else
|
||||
(rx/throw error))))]
|
||||
(do
|
||||
(.error js/console "ERROR" error)
|
||||
(rx/of (msg/error (tr "errors.cannot-upload")))))))]
|
||||
|
||||
(ptk/reify ::process-media-objects
|
||||
ptk/WatchEvent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue