Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-06-22 14:11:47 +02:00
commit adf16f002b
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ class Controller extends Summary {
stateColor(ticket) { stateColor(ticket) {
const ticketState = ticket.ticketState; const ticketState = ticket.ticketState;
if (!ticketState) return;
if (ticketState.code === 'OK') if (ticketState.code === 'OK')
return 'success'; return 'success';
else if (ticketState.code === 'FREE') else if (ticketState.code === 'FREE')