default mapmode terraindevie on first load
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user