in TailwindTraders.Website/Source/Tailwind.Traders.Web/ClientApp/src/pages/list/listContainer.js [69:84]
setQueryStringState(isChecked, dataType, value) {
if (isChecked) {
if (value === 'type') {
this.type.push(dataType);
this.queryString.type = this.type;
} else {
this.brand.push(dataType);
this.queryString.brand = this.brand;
}
} else {
let index = this.queryString[value].indexOf(dataType);
if (index !== -1) {
this.queryString[value].splice(index, 1);
}
}
}