fix search nav behaviour
This commit is contained in:
		@@ -62,6 +62,7 @@ router.afterEach((to, from) => {
 | 
				
			|||||||
  // prevent hover map item mouse event if cartouch is opened
 | 
					  // prevent hover map item mouse event if cartouch is opened
 | 
				
			||||||
  if(['static', 'search'].indexOf(to.name) >= 0){
 | 
					  if(['static', 'search'].indexOf(to.name) >= 0){
 | 
				
			||||||
    common_store.setCartoucheOpened(true);
 | 
					    common_store.setCartoucheOpened(true);
 | 
				
			||||||
 | 
					    concernement_store.resetConcernementOpened();
 | 
				
			||||||
  }else{
 | 
					  }else{
 | 
				
			||||||
    common_store.setCartoucheOpened(false);
 | 
					    common_store.setCartoucheOpened(false);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user