handled multiple response for one besoin
This commit is contained in:
@@ -39,7 +39,7 @@ const router = createRouter({
|
||||
// set map_mode on first load
|
||||
router.afterEach((to, from) => {
|
||||
const concernement_store = ConcernementsStore();
|
||||
console.log('router afterEach', from, to, concernement_store.map_mode);
|
||||
// console.log('router afterEach', from, to, concernement_store.map_mode);
|
||||
if (!from.name) { // we are at first load
|
||||
if (to.hash) {
|
||||
console.log("we have a hash");
|
||||
|
||||
Reference in New Issue
Block a user