mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 08:56:37 +02:00
🐛 Fix import file message does not detect 0 as error
This commit is contained in:
parent
a56e7e383f
commit
950d6195f6
2 changed files with 2 additions and 1 deletions
|
@ -489,7 +489,7 @@
|
|||
|
||||
:else
|
||||
[:& context-notification
|
||||
{:type :success
|
||||
{:type (if (zero? success-num) :warning :success)
|
||||
:content (tr "dashboard.import.import-message" (i18n/c success-num))}]))
|
||||
|
||||
(for [entry entries]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue