فهرست منبع

update className

Shun Miyazawa 4 سال پیش
والد
کامیت
9464c4c6aa
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/client/js/components/Admin/SlackIntegration/CustomBotWithProxyIntegrationCard.jsx

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

@@ -64,7 +64,7 @@ const CustomBotWithProxyIntegrationCard = (props) => {
         <div className="card-body p-4 mb-5 text-center">
         <div className="card-body p-4 mb-5 text-center">
           {props.growiApps.map((growiApp) => {
           {props.growiApps.map((growiApp) => {
             return (
             return (
-              <div className="mb-3 bg-primary text-light p-2 mx-3">
+              <div className={growiApp.active ? 'mb-3 bg-primary text-light p-2 mx-3' : 'mb-3 text-primary p-2 mx-3'}>
                 {growiApp.name}
                 {growiApp.name}
               </div>
               </div>
             );
             );