diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index 556f89b0e45..e42380fa341 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -248,7 +248,7 @@ 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': @@ -273,7 +273,7 @@ function getBadgeAttrs(row) { default: break; } - if (timeDiff < 0) return { color: 'warning', 'text-color': 'black' }; + if (timeDiff > 0) return { color: 'info', 'text-color': 'black' }; return { color: 'transparent' }; }