|
@@ -53,10 +53,12 @@ const CustomBotWithoutProxySettingsAccordion = (props) => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
let logsValue = null;
|
|
let logsValue = null;
|
|
|
-
|
|
|
|
|
if (latestConnectionMessage != null) {
|
|
if (latestConnectionMessage != null) {
|
|
|
logsValue = latestConnectionMessage;
|
|
logsValue = latestConnectionMessage;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (isLatestConnectionSuccess) {
|
|
|
|
|
+ logsValue = null;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
const slackSigningSecretCombined = slackSigningSecret || slackSigningSecretEnv;
|
|
const slackSigningSecretCombined = slackSigningSecret || slackSigningSecretEnv;
|
|
|
const slackBotTokenCombined = slackBotToken || slackBotTokenEnv;
|
|
const slackBotTokenCombined = slackBotToken || slackBotTokenEnv;
|
|
@@ -156,7 +158,7 @@ const CustomBotWithoutProxySettingsAccordion = (props) => {
|
|
|
<textarea
|
|
<textarea
|
|
|
className="form-control card border-info slack-connection-log-body rounded-lg"
|
|
className="form-control card border-info slack-connection-log-body rounded-lg"
|
|
|
rows="5"
|
|
rows="5"
|
|
|
- value={logsValue}
|
|
|
|
|
|
|
+ value={logsValue || ''}
|
|
|
readOnly
|
|
readOnly
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|