From 14401fbc7bc2fdb5716cf77a5ec1f16c3ea2a429 Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Fri, 18 Jan 2019 10:26:19 +0100 Subject: [PATCH] Reverse publish history order --- app/src/components/Sidebar/Publish/Publish.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/components/Sidebar/Publish/Publish.tsx b/app/src/components/Sidebar/Publish/Publish.tsx index b4a293d..7b3262d 100644 --- a/app/src/components/Sidebar/Publish/Publish.tsx +++ b/app/src/components/Sidebar/Publish/Publish.tsx @@ -193,7 +193,7 @@ class Publish extends React.Component { } private history() { - const items = this.state.history.map(message => ({ + const items = this.state.history.reverse().map(message => ({ title: message.topic, value: message.payload, }))