ticket.index.total warning css range from 1 to 50
gitea/salix/dev This commit has test failures
Details
gitea/salix/dev This commit has test failures
Details
This commit is contained in:
parent
cef28307d0
commit
e8a9de6acd
|
@ -103,7 +103,8 @@ export default class Controller {
|
|||
}
|
||||
|
||||
totalPriceColor(ticket) {
|
||||
if (parseInt(ticket.total) < 50)
|
||||
const total = parseInt(ticket.total);
|
||||
if (total > 0 && total < 50)
|
||||
return 'warning';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue