Hotfix messages reversing themselves all the time

This commit is contained in:
Kristóf Tóth 2018-02-14 15:38:38 +01:00
parent 9e5b670f2b
commit 5330f15d3f

View File

@ -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>