Skip to content

Commit

Permalink
fix happening today label
Browse files Browse the repository at this point in the history
  • Loading branch information
LeosPrograms committed May 7, 2024
1 parent fec6804 commit 0b05626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/whosin/coordinator/CoordinationListItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
<div style="background: #ff0000; color: #fff; padding: 3px 5px; border-radius: 5px; margin-right: 10px; margin: 7px;">
Expired
</div>
{:else if totalUnderMin >= totalMin && coordination.starts_date && coordination.starts_date < (new Date().getTime() * 1000) && ((coordination.starts_date < (new Date().getTime() * 1000 + (24 * 60 * 60 * 1000)))) || ((!coordination.ends_date || coordination.ends_date > (new Date().getTime() * 1000)))}
{:else if totalUnderMin >= totalMin && coordination.starts_date && coordination.starts_date < (new Date().getTime() * 1000)}
<div style="background: #cd1dff; color: #fff; padding: 3px 5px; border-radius: 5px; margin-right: 10px; margin: 7px;">
Happening today
</div>
Expand Down

0 comments on commit 0b05626

Please sign in to comment.