Update EditHistoryModal, use proper timestamp

pull/4416/head
Daniel Supernault 2 years ago
parent 6bf3142e8b
commit 2a10809fa3
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -39,7 +39,7 @@
<span class="font-weight-bold">{{ allHistory[0].account.username }}</span>
</div>
<div>{{ historyIndex == (allHistory.length - 1) ? 'created' : 'edited' }} {{ formatTime(allHistory[allHistory.length - 1].created_at) }}</div>
<div>{{ historyIndex == (allHistory.length - 1) ? 'created' : 'edited' }} {{ formatTime(allHistory[historyIndex].created_at) }}</div>
</div>
</div>

Loading…
Cancel
Save