fix message list ordering (fixes #279)

pull/445/head
Benjamin Pasero 2015-11-22 10:28:26 +01:00
parent 2b6ba9e3cb
commit ed9a93cc72
1 changed files with 2 additions and 2 deletions

View File

@ -130,8 +130,8 @@ export class MessageList {
// Trigger Auto-Purge of messages to keep list small
this.purgeMessages();
// Store in Memory
this.messages.push({
// Store in Memory (new messages come first so that they show up on top)
this.messages.unshift({
id: id,
text: message,
severity: severity,