|
|
@@ -9,13 +9,23 @@ const OfficialBotSettings = () => {
|
|
|
return (
|
|
|
<>
|
|
|
<h2 className="admin-setting-header">{t('admin:slack_integration.official_bot_integration')}</h2>
|
|
|
-
|
|
|
- {/* TODO delete tmp props */}
|
|
|
- <CustomBotWithProxyIntegrationCard
|
|
|
- siteNames={['siteName1', 'siteName2', 'siteName3']}
|
|
|
- slackWSNameInWithProxy={['wsName1', 'wsName2']}
|
|
|
- isSlackScopeSet
|
|
|
- />
|
|
|
+ {/* TODO delete tmp props */}
|
|
|
+ <CustomBotWithProxyIntegrationCard
|
|
|
+ siteNames={
|
|
|
+ [
|
|
|
+ { name: 'siteName1', active: true },
|
|
|
+ { name: 'siteName2', active: false },
|
|
|
+ { name: 'siteName3', active: false },
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ slackWorkSpaceNames={
|
|
|
+ [
|
|
|
+ { name: 'wsName1', active: true },
|
|
|
+ { name: 'wsName2', active: false },
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ isSlackScopeSet
|
|
|
+ />
|
|
|
|
|
|
<h2 className="admin-setting-header">{t('admin:slack_integration.official_bot_settings')}</h2>
|
|
|
|