|
@@ -315,16 +315,17 @@ const CustomBotIntegrationProcedure = (props) => {
|
|
|
// };
|
|
// };
|
|
|
|
|
|
|
|
|
|
|
|
|
-export WithProxyAccordions = (props) => {
|
|
|
|
|
|
|
+export const WithProxyAccordions = (props) => {
|
|
|
const { t } = useTranslation();
|
|
const { t } = useTranslation();
|
|
|
const integrationProcedureMapping = props.botType === 'officialBot' ? officialBotIntegrationProcedure : CustomBotIntegrationProcedure;
|
|
const integrationProcedureMapping = props.botType === 'officialBot' ? officialBotIntegrationProcedure : CustomBotIntegrationProcedure;
|
|
|
-
|
|
|
|
|
|
|
+ console.log(CustomBotIntegrationProcedure);
|
|
|
return (
|
|
return (
|
|
|
|
|
+
|
|
|
<div
|
|
<div
|
|
|
className="card border-0 rounded-lg shadow overflow-hidden"
|
|
className="card border-0 rounded-lg shadow overflow-hidden"
|
|
|
>
|
|
>
|
|
|
- {Object.entries(integrationProcedureMapping).map(([key, value]) => {
|
|
|
|
|
- console.log(value)
|
|
|
|
|
|
|
+ {/* {Object.entries(integrationProcedureMapping).map(([key, value]) => {
|
|
|
|
|
+
|
|
|
return (
|
|
return (
|
|
|
<Accordion
|
|
<Accordion
|
|
|
title={<><span className="mr-2">{key}</span>{t(`admin:slack_integration.accordion.${value.title}`)}</>}
|
|
title={<><span className="mr-2">{key}</span>{t(`admin:slack_integration.accordion.${value.title}`)}</>}
|
|
@@ -334,7 +335,7 @@ export WithProxyAccordions = (props) => {
|
|
|
{value.content}
|
|
{value.content}
|
|
|
</Accordion>
|
|
</Accordion>
|
|
|
);
|
|
);
|
|
|
- })}
|
|
|
|
|
|
|
+ })} */}
|
|
|
</div>
|
|
</div>
|
|
|
);
|
|
);
|
|
|
};
|
|
};
|