From f63c50475c3ca15eac477627a291ea67bbcd9dd3 Mon Sep 17 00:00:00 2001 From: Simon Howe Date: Tue, 19 Jan 2016 18:23:21 +0100 Subject: [PATCH] Corrects the node control error placement --- .../components/node-details/node-details-controls.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/app/scripts/components/node-details/node-details-controls.js b/client/app/scripts/components/node-details/node-details-controls.js index 1c4334fe7..08e91cf06 100644 --- a/client/app/scripts/components/node-details/node-details-controls.js +++ b/client/app/scripts/components/node-details/node-details-controls.js @@ -13,6 +13,10 @@ export default class NodeDetailsControls extends React.Component { return (
+ {this.props.error &&
+ + {this.props.error} +
} {this.props.controls && this.props.controls.map(control => { return ( @@ -22,10 +26,6 @@ export default class NodeDetailsControls extends React.Component { })} {this.props.controls && } - {this.props.error &&
- - {this.props.error} -
}
); }