d.results.length > 0 ? this.existingAddresses = true : this.existingAddresses = false
Wednesday, May 25, 2022
Thursday, May 19, 2022
Variable abuse
let checkForHighlight = true;
for (let rows of this.tableBody.nativeElement.children)
{
if (checkForHighlight && rows.classList.contains('alert-warning'))
{
if (checkForHighlight && rows.classList.contains('alert-warning'))
{
checkForHighlight = false;
}
}
checkForHighlight = false;
}
}
if (!checkForHighlight)
{
this.showQuantityWarning = true;
}
this.showQuantityWarning = true;
}
else
{
this.showQuantityWarning = false;
}
this.showQuantityWarning = false;
}
Subscribe to:
Posts (Atom)