diff --git a/modules/client/front/summary/index.js b/modules/client/front/summary/index.js index 113fd2ab2..8144e9266 100644 --- a/modules/client/front/summary/index.js +++ b/modules/client/front/summary/index.js @@ -59,6 +59,8 @@ class Controller extends Summary { stateColor(ticket) { const ticketState = ticket.ticketState; + if (!ticketState) return; + if (ticketState.code === 'OK') return 'success'; else if (ticketState.code === 'FREE')