You've already forked AstralRinth
forked from didirus/AstralRinth
Fix "Incorrect wording for expired pats" (#1378)
This commit is contained in:
@@ -105,7 +105,10 @@
|
|||||||
</span>
|
</span>
|
||||||
⋅
|
⋅
|
||||||
<span v-tooltip="$dayjs(pat.expires).format('MMMM D, YYYY [at] h:mm A')">
|
<span v-tooltip="$dayjs(pat.expires).format('MMMM D, YYYY [at] h:mm A')">
|
||||||
Expires {{ fromNow(pat.expires) }}
|
<template v-if="new Date(pat.expires) > new Date()">
|
||||||
|
Expires {{ fromNow(pat.expires) }}
|
||||||
|
</template>
|
||||||
|
<template v-else> Expired {{ fromNow(pat.expires) }} </template>
|
||||||
</span>
|
</span>
|
||||||
⋅
|
⋅
|
||||||
<span v-tooltip="$dayjs(pat.created).format('MMMM D, YYYY [at] h:mm A')">
|
<span v-tooltip="$dayjs(pat.created).format('MMMM D, YYYY [at] h:mm A')">
|
||||||
|
|||||||
Reference in New Issue
Block a user