# HG changeset patch # User Markus Kottlaender # Date 1558094836 -7200 # Node ID b01c2f4747703bc62d166199650b5553539de6da # Parent 00548f0e81c388774eb449075fb46287e7a4bd7e client: identify: changed order of state mutations diff -r 00548f0e81c3 -r b01c2f474770 client/src/store/map.js --- a/client/src/store/map.js Fri May 17 13:29:23 2019 +0200 +++ b/client/src/store/map.js Fri May 17 14:07:16 2019 +0200 @@ -375,11 +375,11 @@ root: true }); } else { - commit("application/showFairwayDepth", true, { root: true }); - commit("fairwayavailability/type", "stretches", { root: true }); commit("imports/selectedStretchId", stretches[0].getId(), { root: true }); + commit("fairwayavailability/type", "stretches", { root: true }); + commit("application/showFairwayDepth", true, { root: true }); dispatch("moveToFeauture", { feature: stretches[0], zoom: 17 }); } } @@ -394,11 +394,11 @@ root: true }); } else { - commit("application/showFairwayDepth", true, { root: true }); - commit("fairwayavailability/type", "sections", { root: true }); commit("imports/selectedSectionId", sections[0].getId(), { root: true }); + commit("fairwayavailability/type", "sections", { root: true }); + commit("application/showFairwayDepth", true, { root: true }); dispatch("moveToFeauture", { feature: sections[0], zoom: 17 }); } }