mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-25 14:09:03 -04:00
fix(admin): Make "stats calculated at" display only show if it isn't nullish
This commit is contained in:
parent
bdceafaec0
commit
b2c295f833
@ -9,7 +9,7 @@
|
||||
<T>admin.header</T>
|
||||
</h2>
|
||||
|
||||
<p class="small"><em>
|
||||
<p class="small" v-if="stats.calculatedAt != null"><em>
|
||||
Stats calculated at:
|
||||
<span :class="stats.calculatedAt < (new Date() - 24*60*60*1000) / 1000 ? `badge bg-danger text-white` : ''">
|
||||
{{$datetime(stats.calculatedAt)}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user