|
|
@@ -7,7 +7,6 @@ const botDetails = {
|
|
|
officialBot: {
|
|
|
botType: 'officialBot',
|
|
|
botTypeCategory: 'official_bot',
|
|
|
- difficultyLevelImage: '/images/slack-integration/slackbot-difficulty-level-easy.svg',
|
|
|
setUp: 'easy',
|
|
|
multiWSIntegration: 'possible',
|
|
|
securityControl: 'impossible',
|
|
|
@@ -16,7 +15,6 @@ const botDetails = {
|
|
|
botType: 'customBotWithoutProxy',
|
|
|
botTypeCategory: 'custom_bot',
|
|
|
supplementaryBotName: 'without_proxy',
|
|
|
- difficultyLevelImage: '/images/slack-integration/slackbot-difficulty-level-normal.svg',
|
|
|
setUp: 'normal',
|
|
|
multiWSIntegration: 'impossible',
|
|
|
securityControl: 'possible',
|
|
|
@@ -25,7 +23,6 @@ const botDetails = {
|
|
|
botType: 'customBotWithProxy',
|
|
|
botTypeCategory: 'custom_bot',
|
|
|
supplementaryBotName: 'with_proxy',
|
|
|
- difficultyLevelImage: '/images/slack-integration/slackbot-difficulty-level-hard.svg',
|
|
|
setUp: 'hard',
|
|
|
multiWSIntegration: 'possible',
|
|
|
securityControl: 'possible',
|
|
|
@@ -70,7 +67,7 @@ const BotTypeCard = (props) => {
|
|
|
<div className="card-body p-4">
|
|
|
<div className="card-text">
|
|
|
<div className="my-2">
|
|
|
- <img className="d-block mx-auto mb-4" src={botDetails[props.botType].difficultyLevelImage}></img>
|
|
|
+ <img className="d-block mx-auto mb-4" src={`/images/slack-integration/slackbot-difficulty-level-${botDetails[props.botType].setUp}.svg`}></img>
|
|
|
<div className="d-flex justify-content-between mb-3">
|
|
|
<span>{t('admin:slack_integration.selecting_bot_types.multiple_workspaces_integration')}</span>
|
|
|
<img className="bot-type-disc" src={`/images/slack-integration/${botDetails[props.botType].multiWSIntegration}.png`} alt="" />
|