Explorar o código

fix deletion secret and token if cancel

zahmis %!s(int64=5) %!d(string=hai) anos
pai
achega
de42ef3c6e

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

@@ -69,10 +69,6 @@ const SlackIntegration = (props) => {
       setCurrentBotType(clickedBotType);
       return;
     }
-    setIsRegisterSlackCredentials(false);
-    setSlackSigningSecret('');
-    setSlackBotToken('');
-    setIsSendTestMessage('');
     setSelectedBotType(clickedBotType);
   };