소스 검색

change process

Shun Miyazawa 5 년 전
부모
커밋
a1948888cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/client/js/components/Admin/SlackIntegration/CustomBotWithProxyIntegrationCard.jsx

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

@@ -11,7 +11,7 @@ const CustomBotWithProxyIntegrationCard = (props) => {
       <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 px-5">
-          {props.slackWSNameInWithProxy[0] != null && (
+          {props.slackWSNameInWithProxy.length !== 0 && (
             <div className="card slack-work-space-name-card">
               <div className="m-2 text-center">
                 <h5 className="font-weight-bold">{props.slackWSNameInWithProxy[0]}</h5>