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