enabled flag_lists, started flags front ui

This commit is contained in:
2020-11-18 13:22:30 +01:00
parent 8db06621ce
commit 6718e5c9f9
43 changed files with 1889 additions and 123 deletions

View File

@ -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()