default mapmode terraindevie on first load
This commit is contained in:
parent
b827625ce7
commit
4bb92f3e1a
@ -44,6 +44,8 @@ router.afterEach((to, from) => {
|
|||||||
if (to.hash) {
|
if (to.hash) {
|
||||||
console.log("we have a hash");
|
console.log("we have a hash");
|
||||||
concernement_store.setMapMode(to.hash.replace('#', ''));
|
concernement_store.setMapMode(to.hash.replace('#', ''));
|
||||||
|
}else{ // default terraindevie
|
||||||
|
concernement_store.setMapMode("terraindevie");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user