mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-18 23:04:25 +01:00
Expired not Expires for expired items
This commit is contained in:
committed by
benthecarman
parent
6fb24b0362
commit
4899c5e5be
@@ -128,7 +128,10 @@ export function PendingNwc() {
|
||||
{pendingItem.name_of_connection}
|
||||
</span>
|
||||
<time class="text-sm text-neutral-500">
|
||||
Expires {timeAgo(pendingItem.date)}
|
||||
{pendingItem.date <= Date.now()
|
||||
? `Expired`
|
||||
: `Expires`}{" "}
|
||||
${timeAgo(pendingItem.date)}`
|
||||
</time>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user