diff client/src/store/imports.js @ 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 501967471981
children 4ae3453fcf50
line wrap: on
line diff
--- a/client/src/store/imports.js	Tue Mar 19 14:50:06 2019 +0100
+++ b/client/src/store/imports.js	Tue Mar 19 14:50:56 2019 +0100
@@ -39,7 +39,8 @@
     reviewed: [],
     show: NODETAILS,
     showAdditional: NODETAILS,
-    showLogs: NODETAILS
+    showLogs: NODETAILS,
+    details: null
   };
 };
 
@@ -93,6 +94,9 @@
     }
   },
   mutations: {
+    setCurrentDetails: (state, details) => {
+      state.details = details;
+    },
     toggleFilter: (state, name) => {
       state[name] = !state[name];
       const allSet =