Skip to content

Commit

Permalink
change colors of chapter dates
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehobbs committed Dec 17, 2022
1 parent fe5e8ab commit 18f0139
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/ChapterList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,10 @@ export default Vue.extend({
if (time.isValid()) {
c = 'is-danger';
}
if (time.isAfter(dayjs().add(-3, 'month'))) {
if (time.isAfter(dayjs().add(-2, 'month'))) {
c = 'is-warning';
}
if (time.isAfter(dayjs().add(-1, 'month'))) {
c = 'is-success';
}
return c;
Expand Down

0 comments on commit 18f0139

Please sign in to comment.