mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-15 23:41:55 +00:00
Hotfix messages reversing themselves all the time
This commit is contained in:
parent
9e5b670f2b
commit
5330f15d3f
@ -1,6 +1,6 @@
|
||||
<div>
|
||||
<ul>
|
||||
<li *ngFor="let message of messages.reverse()">
|
||||
<li *ngFor="let message of messages.slice().reverse()">
|
||||
<p>
|
||||
<strong>{{message.originator}}</strong>
|
||||
<span class="timestamp">{{message.timestamp | date:'yyyy-MM-dd HH:mm:ss'}}</span><br>
|
||||
|
Loading…
Reference in New Issue
Block a user