From 5981887705ba324177810f6b48ef24cf05d905fb Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 3 Jun 2017 16:04:01 +0100 Subject: [PATCH] fix UpdateCheckBar image alt Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/globals/UpdateCheckBar.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/views/globals/UpdateCheckBar.js b/src/components/views/globals/UpdateCheckBar.js index 8d7cc281..d72cceff 100644 --- a/src/components/views/globals/UpdateCheckBar.js +++ b/src/components/views/globals/UpdateCheckBar.js @@ -75,11 +75,16 @@ export default React.createClass({ }, render: function() { - const imgSrc = this.state.done ? 'img/warning.svg' : 'img/spinner.gif'; + let image; + if (this.state.done) { + image = /!\; + } else { + image = {this.state.message}/; + } return (
- /!\ + {image}
{this.state.message}