🐛 Fix problem with import modal style (#6683)

This commit is contained in:
Alonso Torres 2025-06-16 09:26:35 +02:00 committed by GitHub
parent 267a3af1e5
commit c254ebd7c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -467,6 +467,7 @@
(when (and (= :analyze status) errors?) (when (and (= :analyze status) errors?)
[:& context-notification [:& context-notification
{:level :warning {:level :warning
:class (stl/css :context-notification-error)
:content (tr "dashboard.import.import-warning")}]) :content (tr "dashboard.import.import-warning")}])
(when (= :import-success status) (when (= :import-success status)
@ -480,12 +481,12 @@
:class (stl/css :context-notification-error) :class (stl/css :context-notification-error)
:content (tr "dashboard.import.import-error.disclaimer")}]) :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 {:class (stl/css :import-error-disclaimer)}
[:div (tr "dashboard.import.import-error.message1")] [:div (tr "dashboard.import.import-error.message1")]
[:ul {:class (stl/css :import-error-list)} [:ul {:class (stl/css :import-error-list)}
(for [entry entries] (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)]))] [:li {:class (stl/css :import-error-list-enry)} (:name entry)]))]
[:div (tr "dashboard.import.import-error.message2")]] [:div (tr "dashboard.import.import-error.message2")]]