diff client/src/components/importoverview/AdditionalDetail.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 39a05f8c34e6
children 399b03e59411
line wrap: on
line diff
--- a/client/src/components/importoverview/AdditionalDetail.vue	Tue Mar 19 14:50:06 2019 +0100
+++ b/client/src/components/importoverview/AdditionalDetail.vue	Tue Mar 19 14:50:56 2019 +0100
@@ -32,10 +32,11 @@
  * Author(s):
  * Thomas Junk <thomas.junk@intevation.de>
  */
+import { mapState } from "vuex";
 
 export default {
   name: "additionaldetail",
-  props: ["entry", "details"],
+  props: ["entry"],
   components: {
     BottleneckDetail: () => import("./BottleneckDetail.vue"),
     ApprovedGaugeMeasurementDetail: () =>
@@ -43,6 +44,7 @@
     FairwayDimensionDetail: () => import("./FairwayDimension.vue")
   },
   computed: {
+    ...mapState("imports", ["showLogs", "details"]),
     kind() {
       return this.entry.kind.toUpperCase();
     },