Przeglądaj źródła

show work space name

Shun Miyazawa 5 lat temu
rodzic
commit
66ab5a1f75

+ 3 - 3
src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettings.jsx

@@ -44,13 +44,13 @@ const CustomBotWithoutProxySettings = (props) => {
       <div className="d-flex justify-content-center my-5 bot-integration">
         <div className="card rounded shadow border-0 w-50 admin-bot-card">
           <h5 className="card-title font-weight-bold mt-3 ml-4">Slack</h5>
-          <div className="card-body p-2">
+          <div className="card-body p-2"> { slackWSNameInWithoutProxy &&
             <div className="card bg-warning border-primary mx-xl-5">
               <div className="m-2 text-center">
-                <h5>WESEEK WorkSpace</h5>
+                <h5>{ slackWSNameInWithoutProxy }</h5>
                 <GrowiLogo></GrowiLogo>
               </div>
-            </div>
+            </div> }
           </div>
         </div>