zahmis пре 5 година
родитељ
комит
a0c45eb38b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

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

@@ -28,7 +28,7 @@ const SlackIntegration = (props) => {
   const [isSendTestMessage, setIsSendTestMessage] = useState(false);
   const [isSendTestMessage, setIsSendTestMessage] = useState(false);
   const [slackWSNameInWithoutProxy, setSlackWSNameInWithoutProxy] = useState(null);
   const [slackWSNameInWithoutProxy, setSlackWSNameInWithoutProxy] = useState(null);
   const [isSlackScopeSet, setIsSlackScopeSet] = useState(false);
   const [isSlackScopeSet, setIsSlackScopeSet] = useState(false);
-  const slackSettingErrors = [isSetupSlackBot, isSlackScopeSet];
+  const slackSettingErrors = [isSetupSlackBot, isConnectedToSlack, isSlackScopeSet];
 
 
 
 
   const fetchSlackWorkSpaceNameInWithoutProxy = useCallback(async() => {
   const fetchSlackWorkSpaceNameInWithoutProxy = useCallback(async() => {