From 9493f4a8720432c66acb9a7b45f6c3f6e6641c2b Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Mon, 12 Jun 2017 10:42:44 +0100
Subject: [PATCH] fallback from undefined for interpolation because _t called
 with undefined interpolation name: errorDetail even though when its undef its
 not used to sprinf-js would have been fine...

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---
 src/components/views/globals/UpdateCheckBar.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/views/globals/UpdateCheckBar.js b/src/components/views/globals/UpdateCheckBar.js
index 557698c711..d19a21cb8f 100644
--- a/src/components/views/globals/UpdateCheckBar.js
+++ b/src/components/views/globals/UpdateCheckBar.js
@@ -47,7 +47,7 @@ export default React.createClass({
     },
 
     render: function() {
-        const message = _t(statusText[this.props.status], { errorDetail: this.props.detail });
+        const message = _t(statusText[this.props.status], { errorDetail: this.props.detail || '' });
 
         let image;
         if (doneStatuses.includes(this.props.status)) {