0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-07 15:39:42 -05:00

🐛 Fix import file message does not detect 0 as error

This commit is contained in:
Pablo Alba 2024-06-25 16:28:59 +02:00 committed by Alejandro Alonso
parent a56e7e383f
commit 950d6195f6
2 changed files with 2 additions and 1 deletions

View file

@ -52,6 +52,7 @@
- Color library loses association with shapes when exporting/importing the document [Taiga #8132](https://tree.taiga.io/project/penpot/issue/8132)
- Fix can't collapse groups when searching in the assets tab [Taiga #8125](https://tree.taiga.io/project/penpot/issue/8125)
- Fix 'Detach instance' shortcut is not working [Taiga #8102](https://tree.taiga.io/project/penpot/issue/8102)
- Fix import file message does not detect 0 as error [Taiga #6824](https://tree.taiga.io/project/penpot/issue/6824)
## 2.0.3

View file

@ -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]