changeset 4447:725bdc6a9d38

import_overview: mark imports with errors with a red warning sign instead of yellow
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 20 Sep 2019 12:45:44 +0200
parents ec8c9793dbb7
children ec207cee13bd
files client/src/components/importoverview/LogEntry.vue
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importoverview/LogEntry.vue	Fri Sep 20 12:09:25 2019 +0200
+++ b/client/src/components/importoverview/LogEntry.vue	Fri Sep 20 12:45:44 2019 +0200
@@ -29,8 +29,11 @@
     </div>
     <div style="width: 44px;" class="table-cell center">
       <font-awesome-icon
-        v-if="entry.warnings"
-        class="text-warning"
+        v-if="entry.warnings || entry.errors"
+        :class="{
+          'text-warning': entry.warnings && !entry.errors,
+          'text-danger': entry.errors
+        }"
         icon="exclamation-triangle"
         fixed-width
       />