Mercurial > gemma
comparison client/src/store/index.js @ 3184:1ba2a7d22fbb
available_fairway_depth: display selected feature
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 07 May 2019 16:59:11 +0200 |
parents | 1686ec185155 |
children | ba7bc3740fb3 |
comparison
equal
deleted
inserted
replaced
3183:f64cc98746a1 | 3184:1ba2a7d22fbb |
---|---|
21 import map from "./map"; | 21 import map from "./map"; |
22 import fairwayprofile from "./fairway"; | 22 import fairwayprofile from "./fairway"; |
23 import bottlenecks from "./bottlenecks"; | 23 import bottlenecks from "./bottlenecks"; |
24 import { imports } from "./imports"; | 24 import { imports } from "./imports"; |
25 import { importschedule } from "./importschedule"; | 25 import { importschedule } from "./importschedule"; |
26 import { diagram } from "./diagram"; | |
26 import gauges from "./gauges"; | 27 import gauges from "./gauges"; |
27 | 28 |
28 Vue.use(Vuex); | 29 Vue.use(Vuex); |
29 | 30 |
30 export default new Vuex.Store({ | 31 export default new Vuex.Store({ |
31 mutations: { | 32 mutations: { |
32 reset() { | 33 reset() { |
33 this.replaceState({ | 34 this.replaceState({ |
34 application: application.init(), | 35 application: application.init(), |
36 diagram: diagram.init(), | |
35 fairwayprofile: fairwayprofile.init(), | 37 fairwayprofile: fairwayprofile.init(), |
36 imports: imports.init(), | 38 imports: imports.init(), |
37 importschedule: importschedule.init(), | 39 importschedule: importschedule.init(), |
38 bottlenecks: bottlenecks.init(), | 40 bottlenecks: bottlenecks.init(), |
39 map: map.init(), | 41 map: map.init(), |
43 }); | 45 }); |
44 } | 46 } |
45 }, | 47 }, |
46 modules: { | 48 modules: { |
47 application, | 49 application, |
50 diagram, | |
48 fairwayprofile, | 51 fairwayprofile, |
49 imports, | 52 imports, |
50 importschedule, | 53 importschedule, |
51 bottlenecks, | 54 bottlenecks, |
52 map, | 55 map, |