enabled flag_lists, started flags front ui
This commit is contained in:
@ -55,16 +55,18 @@ import 'theme/assets/styles/main.scss'
|
||||
function checkNoVuePages(){
|
||||
// return drupalDecoupled.sys_path != '/cart'
|
||||
// && drupalDecoupled.sys_path.indexOf('checkout') != 1;
|
||||
if( drupalDecoupled.route_name.indexOf('commerce') == -1 ){
|
||||
return true;
|
||||
}else{
|
||||
if( drupalDecoupled.route_name.indexOf('commerce') == -1 &&
|
||||
drupalDecoupled.route_name.indexOf('flagging_collection') == -1 &&
|
||||
drupalDecoupled.route_name.indexOf('user') == -1){
|
||||
return false;
|
||||
}else{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function initVues(){
|
||||
// only launch views if we are not in commerce pages
|
||||
if(checkNoVuePages()){
|
||||
if(!checkNoVuePages()){
|
||||
initVRouter();
|
||||
initVSiteBrandingBlock()
|
||||
initVPagetitleBlock()
|
||||
|
Reference in New Issue
Block a user