Shun Miyazawa 4 лет назад
Родитель
Сommit
426a592fc4

+ 5 - 6
src/client/js/components/Admin/SlackIntegration/CustomBotWithProxySettings.jsx

@@ -80,12 +80,11 @@ const CustomBotWithProxySettings = (props) => {
 
       {/* TODO delete tmp props */}
       <CustomBotWithProxyIntegrationCard
-        growiApps={
-          [
-            { name: 'siteName1', active: true },
-            { name: 'siteName2', active: false },
-            { name: 'siteName3', active: false },
-          ]
+        growiApp={
+          {
+            name: 'siteName',
+            active: true,
+          }
         }
         slackWorkSpaces={
           [

+ 5 - 6
src/client/js/components/Admin/SlackIntegration/OfficialBotSettings.jsx

@@ -79,12 +79,11 @@ const OfficialBotSettings = (props) => {
       <h2 className="admin-setting-header">{t('admin:slack_integration.official_bot_integration')}</h2>
       {/* TODO delete tmp props */}
       <CustomBotWithProxyIntegrationCard
-        growiApps={
-          [
-            { name: 'siteName1', active: true },
-            { name: 'siteName2', active: false },
-            { name: 'siteName3', active: false },
-          ]
+        growiApp={
+          {
+            name: 'siteName',
+            active: true,
+          }
         }
         slackWorkSpaces={
           [