comparison client/src/store/imports.js @ 2608:13377f2a5c42

overview2: agm details prototype implemented
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 13 Mar 2019 09:45:29 +0100
parents 6e6709bab5c4
children 7025d082c115
comparison
equal deleted inserted replaced
2607:ee60096c7eb6 2608:13377f2a5c42
23 APPROVED: "accepted", 23 APPROVED: "accepted",
24 REJECTED: "declined" 24 REJECTED: "declined"
25 }; 25 };
26 26
27 const NODETAILS = -1; 27 const NODETAILS = -1;
28 const NODIFF = -1;
29 28
30 // initial state 29 // initial state
31 const init = () => { 30 const init = () => {
32 return { 31 return {
33 filters: [], 32 filters: [],
38 importToReview: null, 37 importToReview: null,
39 stagingVisible: true, 38 stagingVisible: true,
40 logsVisible: true, 39 logsVisible: true,
41 show: NODETAILS, 40 show: NODETAILS,
42 showAdditional: NODETAILS, 41 showAdditional: NODETAILS,
43 showLogs: NODETAILS, 42 showLogs: NODETAILS
44 showDiff: NODIFF
45 }; 43 };
46 }; 44 };
47 45
48 const getStretchFromWFS = filter => { 46 const getStretchFromWFS = filter => {
49 return new Promise((resolve, reject) => { 47 return new Promise((resolve, reject) => {