From a9cde2b0f9092adc7bac91519edff128e63aedef Mon Sep 17 00:00:00 2001
From: Corey Hulen <corey@hulen.com>
Date: Mon, 25 Apr 2016 05:38:41 -0700
Subject: PLT-2616 making dev mode javascript error red (#2787)

---
 webapp/components/error_bar.jsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'webapp/components/error_bar.jsx')

diff --git a/webapp/components/error_bar.jsx b/webapp/components/error_bar.jsx
index 7257ffe94..d28be671d 100644
--- a/webapp/components/error_bar.jsx
+++ b/webapp/components/error_bar.jsx
@@ -67,8 +67,14 @@ export default class ErrorBar extends React.Component {
             return <div/>;
         }
 
+        var errClass = 'error-bar';
+
+        if (this.state.type && this.state.type === 'developer') {
+            errClass = 'error-bar-developer';
+        }
+
         return (
-            <div className='error-bar'>
+            <div className={errClass}>
                 <span>{this.state.message}</span>
                 <a
                     href='#'
-- 
cgit v1.2.3-1-g7c22

