mirror of
https://github.com/penpot/penpot.git
synced 2025-07-13 18:57:19 +02:00
🐛 Fix problem with import modal style (#6683)
This commit is contained in:
parent
267a3af1e5
commit
c254ebd7c3
1 changed files with 3 additions and 2 deletions
|
@ -467,6 +467,7 @@
|
|||
(when (and (= :analyze status) errors?)
|
||||
[:& context-notification
|
||||
{:level :warning
|
||||
:class (stl/css :context-notification-error)
|
||||
:content (tr "dashboard.import.import-warning")}])
|
||||
|
||||
(when (= :import-success status)
|
||||
|
@ -480,12 +481,12 @@
|
|||
:class (stl/css :context-notification-error)
|
||||
:content (tr "dashboard.import.import-error.disclaimer")}])
|
||||
|
||||
(if (= :import-error status)
|
||||
(if (or (= :import-error status) (and (= :analyze status) errors?))
|
||||
[:div {:class (stl/css :import-error-disclaimer)}
|
||||
[:div (tr "dashboard.import.import-error.message1")]
|
||||
[:ul {:class (stl/css :import-error-list)}
|
||||
(for [entry entries]
|
||||
(when (= :import-error (:status entry))
|
||||
(when (contains? #{:import-error :analyze-error} (:status entry))
|
||||
[:li {:class (stl/css :import-error-list-enry)} (:name entry)]))]
|
||||
[:div (tr "dashboard.import.import-error.message2")]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue