zahmis пре 4 година
родитељ
комит
b7f35c3a04

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

@@ -27,8 +27,6 @@ const CustomBotWithoutProxySettings = (props) => {
   };
   };
 
 
   const testConnection = async() => {
   const testConnection = async() => {
-    setConnectionErrorCode(null);
-    setConnectionMessage(null);
     try {
     try {
       await appContainer.apiv3.post('/slack-integration-settings/without-proxy/test', { channel: testChannel });
       await appContainer.apiv3.post('/slack-integration-settings/without-proxy/test', { channel: testChannel });
       setConnectionMessage('Send the message to slack work space.');
       setConnectionMessage('Send the message to slack work space.');