From d2b4c8e010f60a1bbc172b70d5c3525d136f3e9e Mon Sep 17 00:00:00 2001 From: pbca26 Date: Mon, 15 May 2017 08:56:41 +0300 Subject: [PATCH] omit tag key render in send coin resp --- react/src/components/dashboard/sendCoin.js | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/react/src/components/dashboard/sendCoin.js b/react/src/components/dashboard/sendCoin.js index 097e88d..259a019 100644 --- a/react/src/components/dashboard/sendCoin.js +++ b/react/src/components/dashboard/sendCoin.js @@ -554,12 +554,21 @@ class SendCoin extends React.Component { renderSendCoinResponse() { if (this.props.ActiveCoin.lastSendToResponse) { - return Object.keys(this.props.ActiveCoin.lastSendToResponse).map((key, index) => - - {key} - {this.renderKey(key)} - - ); + let items = []; + const _response = this.props.ActiveCoin.lastSendToResponse; + + for (let key in _response) { + if (key !== 'tag') { + items.push( + + {key} + {this.renderKey(key)} + + ); + } + } + + return items; } else { return (