|
@@ -193,7 +193,6 @@ const TestProcess = (props) => {
|
|
|
setIsLatestConnectionSuccess(true);
|
|
setIsLatestConnectionSuccess(true);
|
|
|
|
|
|
|
|
if (onTestConnectionInvoked != null) {
|
|
if (onTestConnectionInvoked != null) {
|
|
|
- console.log('ontest は nullじゃない');
|
|
|
|
|
onTestConnectionInvoked();
|
|
onTestConnectionInvoked();
|
|
|
const newLogs = addLogs(logsValue, successMessage, null);
|
|
const newLogs = addLogs(logsValue, successMessage, null);
|
|
|
setLogsValue(newLogs);
|
|
setLogsValue(newLogs);
|
|
@@ -255,7 +254,7 @@ const TestProcess = (props) => {
|
|
|
|
|
|
|
|
const WithProxyAccordions = (props) => {
|
|
const WithProxyAccordions = (props) => {
|
|
|
const { t } = useTranslation();
|
|
const { t } = useTranslation();
|
|
|
- const { connectionStatuses, workspaceName } = props;
|
|
|
|
|
|
|
+ const { connectionStatuses, workspaceName, onTestConnectionInvoked } = props;
|
|
|
console.log(workspaceName);
|
|
console.log(workspaceName);
|
|
|
|
|
|
|
|
const officialBotIntegrationProcedure = {
|
|
const officialBotIntegrationProcedure = {
|
|
@@ -308,7 +307,11 @@ const WithProxyAccordions = (props) => {
|
|
|
},
|
|
},
|
|
|
'⑤': {
|
|
'⑤': {
|
|
|
title: 'test_connection',
|
|
title: 'test_connection',
|
|
|
- content: <TestProcess apiv3Post={props.appContainer.apiv3.post} slackAppIntegrationId={props.slackAppIntegrationId} />,
|
|
|
|
|
|
|
+ content: <TestProcess
|
|
|
|
|
+ apiv3Post={props.appContainer.apiv3.post}
|
|
|
|
|
+ slackAppIntegrationId={props.slackAppIntegrationId}
|
|
|
|
|
+ onTestConnectionInvoked={onTestConnectionInvoked}
|
|
|
|
|
+ />,
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
|
|
|