Mercurial > gemma
comparison client/src/store/fairwayavailability.js @ 3354:e12e8bf044a6
available_fairway_dialogue: added 2nd breadthelement
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 21 May 2019 16:11:44 +0200 |
parents | 399a2eb496ee |
children | 9625c6120d18 |
comparison
equal
deleted
inserted
replaced
3352:399a2eb496ee | 3354:e12e8bf044a6 |
---|---|
28 to: format(new Date(), "YYYY-MM-DD"), | 28 to: format(new Date(), "YYYY-MM-DD"), |
29 from: format(subYears(new Date(), 1), "YYYY-MM-DD"), | 29 from: format(subYears(new Date(), 1), "YYYY-MM-DD"), |
30 frequency: FREQUENCIES.MONTHLY, | 30 frequency: FREQUENCIES.MONTHLY, |
31 depthlimit1: 250, | 31 depthlimit1: 250, |
32 depthlimit2: 230, | 32 depthlimit2: 230, |
33 breadthlimit: null, | 33 breadthlimit1: null, |
34 breadthlimit2: null, | |
34 fwData: null, | 35 fwData: null, |
35 fwLNWLData: null, | 36 fwLNWLData: null, |
36 legend: null, | 37 legend: null, |
37 LOS: 3 | 38 LOS: 3 |
38 }; | 39 }; |
62 state.depthlimit1 = depthlimit1; | 63 state.depthlimit1 = depthlimit1; |
63 }, | 64 }, |
64 setDepthlimit2: (state, depthlimit2) => { | 65 setDepthlimit2: (state, depthlimit2) => { |
65 state.depthlimit2 = depthlimit2; | 66 state.depthlimit2 = depthlimit2; |
66 }, | 67 }, |
67 setBreadthlimit1: (state, breadthlimit) => { | 68 setBreadthlimit1: (state, breadthlimit1) => { |
68 state.breadthlimit = breadthlimit; | 69 state.breadthlimit1 = breadthlimit1; |
70 }, | |
71 setBreadthlimit2: (state, breadthlimit2) => { | |
72 state.breadthlimit2 = breadthlimit2; | |
69 }, | 73 }, |
70 setSelectedFairwayAvailability: (state, feature) => { | 74 setSelectedFairwayAvailability: (state, feature) => { |
71 state.selectedFairwayAvailabilityFeature = feature; | 75 state.selectedFairwayAvailabilityFeature = feature; |
72 }, | 76 }, |
73 setFwData: (state, fwData) => { | 77 setFwData: (state, fwData) => { |