zahmis 4 лет назад
Родитель
Сommit
3df863e474
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      src/client/js/components/Admin/SlackIntegration/WithProxyAccordions.jsx

+ 2 - 3
src/client/js/components/Admin/SlackIntegration/WithProxyAccordions.jsx

@@ -224,7 +224,7 @@ const TestProcess = ({ apiv3Post, slackAppIntegrationId }) => {
           </button>
           </button>
         </form>
         </form>
       </div>
       </div>
-      <ConnectionMessage isLatestConnectionSuccess={isLatestConnectionSuccess} latestConnectionMessage={latestConnectionMessage} />
+      <MessageBasedOnConnection isLatestConnectionSuccess={isLatestConnectionSuccess} latestConnectionMessage={latestConnectionMessage} />
       <form>
       <form>
         <div className="row my-3 justify-content-center">
         <div className="row my-3 justify-content-center">
           <div className="form-group slack-connection-log col-md-4">
           <div className="form-group slack-connection-log col-md-4">
@@ -242,8 +242,7 @@ const TestProcess = ({ apiv3Post, slackAppIntegrationId }) => {
   );
   );
 };
 };
 
 
-
-const ConnectionMessage = (props) => {
+const MessageBasedOnConnection = (props) => {
   const { isLatestConnectionSuccess, latestConnectionMessage } = props;
   const { isLatestConnectionSuccess, latestConnectionMessage } = props;
   const { t } = useTranslation();
   const { t } = useTranslation();
   if (isLatestConnectionSuccess) {
   if (isLatestConnectionSuccess) {