Przeglądaj źródła

enable show success integration border

Shun Miyazawa 4 lat temu
rodzic
commit
60fa5d2d4a

+ 6 - 1
src/client/js/components/Admin/SlackIntegration/CustomBotWithProxyIntegrationCard.jsx

@@ -26,7 +26,12 @@ const CustomBotWithProxyIntegrationCard = (props) => {
               <div className="circle position-absolute bg-primary border-light">
               <div className="circle position-absolute bg-primary border-light">
                 <p className="circle-inner text-light font-weight-bold">Proxy Server</p>
                 <p className="circle-inner text-light font-weight-bold">Proxy Server</p>
               </div>
               </div>
-              <hr className="align-self-center admin-border-danger border-danger"></hr>
+              {props.isSlackScopeSet && (
+                <hr className="align-self-center border-success admin-border-success"></hr>
+              )}
+              {!props.isSlackScopeSet && (
+                <hr className="align-self-center border-danger admin-border-danger"></hr>
+              )}
             </div>
             </div>
           </div>
           </div>
         </div>
         </div>