From 9a80d6e8598850fec00471c6101c194e90c30353 Mon Sep 17 00:00:00 2001 From: Evgeniy Filatov Date: Thu, 23 Aug 2018 01:26:30 +0300 Subject: updated docs, small improvement of recent RPC rendering --- old-ui/app/components/app-bar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'old-ui/app') diff --git a/old-ui/app/components/app-bar.js b/old-ui/app/components/app-bar.js index 684dfbe19..234c06a01 100644 --- a/old-ui/app/components/app-bar.js +++ b/old-ui/app/components/app-bar.js @@ -352,8 +352,9 @@ module.exports = class AppBar extends Component { renderCommonRpc (rpcList, provider) { const {dispatch} = this.props + const reversedRpcList = rpcList.slice().reverse() - return rpcList.map((rpc) => { + return reversedRpcList.map((rpc) => { const currentRpcTarget = provider.type === 'rpc' && rpc === provider.rpcTarget if ((rpc === LOCALHOST_RPC_URL) || currentRpcTarget) { -- cgit v1.2.3