commit
This commit is contained in:
@@ -79,22 +79,23 @@ export default {
|
||||
}
|
||||
}
|
||||
});
|
||||
if(this.country === true){
|
||||
this.tabValue = "listOfCountries"
|
||||
return;
|
||||
}else if(this.project === true){
|
||||
this.tabValue = "listProject"
|
||||
return;
|
||||
}else if(this.tracking === true){
|
||||
this.tabValue = "listTracking"
|
||||
return;
|
||||
}else if(this.other === true){
|
||||
this.tabValue = "listOther"
|
||||
return;
|
||||
}else if(this.library === true){
|
||||
this.tabValue = "localProductsOrProjectLibrary"
|
||||
return;
|
||||
}
|
||||
this.tabValue = this.country ? 'listOfCountries' : (this.project ? 'listProject' : (this.tracking ? 'listTracking' : (this.other ? 'listOther' : (this.library ? 'localProductsOrProjectLibrary' : ''))))
|
||||
// if(this.country){
|
||||
// this.tabValue = "listOfCountries"
|
||||
// return;
|
||||
// }else if(this.project){
|
||||
// this.tabValue = "listProject"
|
||||
// return;
|
||||
// }else if(this.tracking){
|
||||
// this.tabValue = "listTracking"
|
||||
// return;
|
||||
// }else if(this.other){
|
||||
// this.tabValue = "listOther"
|
||||
// return;
|
||||
// }else if(this.library){
|
||||
// this.tabValue = "localProductsOrProjectLibrary"
|
||||
// return;
|
||||
// }
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
const toName = ["ListOfStandardsAndRegulationsDetails", "AccessStandardDetails", "LocalProductDetail", "OtherAddEit"];
|
||||
|
||||
Reference in New Issue
Block a user