zahmis 4 лет назад
Родитель
Сommit
a322771ba1

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

@@ -6,24 +6,6 @@ import ConductionStatusHr from './ConductionStatusHr';
 const CustomBotWithProxyIntegrationCard = (props) => {
   const { t } = useTranslation();
 
-  // let errorCount = 0;
-  // workspaceNames.forEach((w) => {
-  //   if (w == null) {
-  //     errorCount++;
-  //   }
-  // });
-
-  // let conductionStatus;
-  // if (errorCount === 0 && workspaceNames.length !== 0) {
-  //   conductionStatus = 'green';
-  // }
-  // else if (errorCount === workspaceNames.length) {
-  //   conductionStatus = 'red';
-  // }
-  // else {
-  //   conductionStatus = 'yellow';
-  // }
-
   return (
     <div className="d-flex justify-content-center my-5 bot-integration">