Просмотр исходного кода

remove comment out and change the description

kaori 5 лет назад
Родитель
Сommit
bd5844d590

+ 1 - 1
src/client/js/components/Admin/SlackIntegration/BotTypeCard.jsx

@@ -55,7 +55,7 @@ const BotTypeCard = (props) => {
             {t(`admin:slack_integration.selecting_bot_types.${botDetails.botTypeCategory}`)}
           </span>
 
-          {/* official bot card is shown recommended badge, Custom bot cards are shown supplementary bot name  */}
+          {/*  A recommended badge is shown on official bot card, supplementary names are shown on Custom bot cards   */}
           {props.botType === 'officialBot'
           ? (
             <span className="badge badge-info mr-2">

+ 0 - 1
src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

@@ -107,7 +107,6 @@ const SlackIntegration = (props) => {
 
 
   const botTypes = ['officialBot', 'customBotWithoutProxy', 'customBotWithProxy'];
-  // const botTypes = ['official-bot', 'custom-bot-without-proxy', 'custom-bot-with-proxy'];
 
   return (
     <>