0👍
✅
I find solution…
export let currentType = 99999;
And
testTypeOrder(type, title){
if(type == currentType){
//console.log(title + ' => ' + type + ' == ' + this.currentType + ' return false');
return false;
}else{
//console.log(title + ' => ' + type + ' != ' + this.currentType + ' return true');
currentType = type;
return true;
}
},
It was simple…
I hope it will helps someone, one day 🙂
Source:stackexchange.com