mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 16:00:19 -05: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
|
@ -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)
|
- 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 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 '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
|
## 2.0.3
|
||||||
|
|
|
@ -489,7 +489,7 @@
|
||||||
|
|
||||||
:else
|
:else
|
||||||
[:& context-notification
|
[:& context-notification
|
||||||
{:type :success
|
{:type (if (zero? success-num) :warning :success)
|
||||||
:content (tr "dashboard.import.import-message" (i18n/c success-num))}]))
|
:content (tr "dashboard.import.import-message" (i18n/c success-num))}]))
|
||||||
|
|
||||||
(for [entry entries]
|
(for [entry entries]
|
||||||
|
|
Loading…
Reference in a new issue