|
|
@@ -13,7 +13,7 @@ const CustomBotWithoutProxySettings = (props) => {
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
const [siteName, setSiteName] = useState('');
|
|
|
- const [isIntegrationSuccess, setIsIntegrationSuccess] = useState(false);
|
|
|
+ // const [isIntegrationSuccess, setIsIntegrationSuccess] = useState(false);
|
|
|
const [connectionMessage, setConnectionMessage] = useState(null);
|
|
|
const [testChannel, setTestChannel] = useState('');
|
|
|
|
|
|
@@ -21,7 +21,7 @@ const CustomBotWithoutProxySettings = (props) => {
|
|
|
try {
|
|
|
await appContainer.apiv3.post('/slack-integration-settings/without-proxy/test', { channel: testChannel });
|
|
|
setConnectionMessage('');
|
|
|
- setIsIntegrationSuccess(true);
|
|
|
+ // setIsIntegrationSuccess(true);
|
|
|
|
|
|
if (onTestConnectionInvoked != null) {
|
|
|
onTestConnectionInvoked();
|
|
|
@@ -29,7 +29,7 @@ const CustomBotWithoutProxySettings = (props) => {
|
|
|
}
|
|
|
catch (err) {
|
|
|
addLogs(err[0], connectionMessage, setConnectionMessage);
|
|
|
- setIsIntegrationSuccess(false);
|
|
|
+ // setIsIntegrationSuccess(false);
|
|
|
}
|
|
|
};
|
|
|
|
|
|
@@ -69,7 +69,7 @@ const CustomBotWithoutProxySettings = (props) => {
|
|
|
{...props}
|
|
|
activeStep={botInstallationStep.CREATE_BOT}
|
|
|
connectionMessage={connectionMessage}
|
|
|
- isIntegrationSuccess={isIntegrationSuccess}
|
|
|
+ // isIntegrationSuccess={isIntegrationSuccess}
|
|
|
testChannel={testChannel}
|
|
|
onTestFormSubmitted={testConnection}
|
|
|
inputTestChannelHandler={inputTestChannelHandler}
|