|
|
@@ -8,7 +8,7 @@ import CustomBotWithoutProxySettingsAccordion, { botInstallationStep } from './C
|
|
|
import CustomBotWithoutProxyIntegrationCard from './CustomBotWithoutProxyIntegrationCard';
|
|
|
|
|
|
const CustomBotWithoutProxySettings = (props) => {
|
|
|
- const { appContainer } = props;
|
|
|
+ const { appContainer, isSetupSlackBot } = props;
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
const [siteName, setSiteName] = useState('');
|
|
|
@@ -30,7 +30,13 @@ const CustomBotWithoutProxySettings = (props) => {
|
|
|
|
|
|
<h2 className="admin-setting-header">{t('admin:slack_integration.custom_bot_without_proxy_settings')}</h2>
|
|
|
|
|
|
- <btn className="pull-right btn text-danger border-danger" type="button">リセット</btn>
|
|
|
+ {isSetupSlackBot && (
|
|
|
+ <btn
|
|
|
+ className="pull-right btn text-danger border-danger"
|
|
|
+ type="button"
|
|
|
+ >リセット
|
|
|
+ </btn>
|
|
|
+ ) }
|
|
|
<div className="my-5 mx-3">
|
|
|
<CustomBotWithoutProxySettingsAccordion
|
|
|
{...props}
|