Update EditHistoryModal, use proper timestamp

This commit is contained in:
Daniel Supernault 2023-05-25 01:40:21 -06:00
parent 6bf3142e8b
commit 2a10809fa3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -39,7 +39,7 @@
<span class="font-weight-bold">{{ allHistory[0].account.username }}</span> <span class="font-weight-bold">{{ allHistory[0].account.username }}</span>
</div> </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>
</div> </div>