diff client/src/components/importoverview/AdditionalLog.vue @ 2732:0ab7985ef008

import_review: fixed flakey display of logs
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 19 Mar 2019 14:50:56 +0100
parents 0fe0b3f1720f
children c40540889b53
line wrap: on
line diff
--- a/client/src/components/importoverview/AdditionalLog.vue	Tue Mar 19 14:50:06 2019 +0100
+++ b/client/src/components/importoverview/AdditionalLog.vue	Tue Mar 19 14:50:56 2019 +0100
@@ -11,7 +11,11 @@
       }
     ]"
   >
-    <div class="d-flex flex-row" v-for="(line, index) in logLines" :key="index">
+    <div
+      class="d-flex flex-row"
+      v-for="(line, index) in details.entries"
+      :key="index"
+    >
       <span
         :class="[
           'kind',
@@ -67,14 +71,8 @@
 
 export default {
   name: "additionallogs",
-  props: ["details"],
-  data() {
-    return {
-      logLines: this.details.entries
-    };
-  },
   computed: {
-    ...mapState("imports", ["showAdditional"])
+    ...mapState("imports", ["showAdditional", "details"])
   },
   NODETAILS: -1
 };