|
|
@@ -62,16 +62,16 @@ const CustomBotWithoutProxySettings = (props) => {
|
|
|
|
|
|
<h2 className="admin-setting-header">{t('admin:slack_integration.integration_procedure')}</h2>
|
|
|
<div className="mb-5 mx-3">
|
|
|
- <div className="d-flex justify-content-end">
|
|
|
- {(props.slackSigningSecret || props.slackBotToken) && (
|
|
|
+ {(props.slackSigningSecret || props.slackBotToken) && (
|
|
|
+ <div className="d-flex justify-content-end">
|
|
|
<button
|
|
|
className="my-3 pull-right btn text-danger border-danger"
|
|
|
type="button"
|
|
|
onClick={() => setIsDeleteConfirmModalShown(true)}
|
|
|
>{t('admin:slack_integration.reset')}
|
|
|
</button>
|
|
|
- )}
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
{/* {isConnectedFailed && (<>Settings #1 <span className="text-danger">{t('admin:slack_integration.integration_failed')}</span></>)} */}
|
|
|
<CustomBotWithoutProxySettingsAccordion
|
|
|
{...props}
|