Mercurial > gemma
comparison client/src/store/map.js @ 3207:ba7bc3740fb3
client: renamed store modules to better reflect their context
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Wed, 08 May 2019 17:43:18 +0200 |
parents | dffcf1cc8a8b |
children | 48801e13ef18 |
comparison
equal
deleted
inserted
replaced
3206:dffcf1cc8a8b | 3207:ba7bc3740fb3 |
---|---|
372 commit("imports/selectedStretchId", null, { | 372 commit("imports/selectedStretchId", null, { |
373 root: true | 373 root: true |
374 }); | 374 }); |
375 } else { | 375 } else { |
376 commit("application/showStatistics", true, { root: true }); | 376 commit("application/showStatistics", true, { root: true }); |
377 commit("diagram/type", "stretches", { root: true }); | 377 commit("fairwayavailability/type", "stretches", { root: true }); |
378 commit("imports/selectedStretchId", stretches[0].getId(), { | 378 commit("imports/selectedStretchId", stretches[0].getId(), { |
379 root: true | 379 root: true |
380 }); | 380 }); |
381 dispatch("moveToFeauture", { feature: stretches[0], zoom: 17 }); | 381 dispatch("moveToFeauture", { feature: stretches[0], zoom: 17 }); |
382 } | 382 } |