diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index 5ebad3144..556f89b0e 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -249,7 +249,6 @@ function getBadgeAttrs(row) { let timeDiff = today - timeTicket; if (timeDiff > 0) return { color: 'info', 'text-color': 'black' }; - if (timeDiff < 0) return { color: 'warning', 'text-color': 'black' }; switch (row.entryTypeCode) { case 'regularization': case 'life': @@ -274,6 +273,7 @@ function getBadgeAttrs(row) { default: break; } + if (timeDiff < 0) return { color: 'warning', 'text-color': 'black' }; return { color: 'transparent' }; }