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;
}
No comments:
Post a Comment