Преглед на файлове

Merge pull request #3885 from weseek/fix/error-message

fix null to ''
Sizma yosimaz преди 5 години
родител
ревизия
9bccc795b3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/client/js/components/Admin/SlackIntegration/WithProxyAccordions.jsx

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

@@ -251,7 +251,7 @@ const MessageBasedOnConnection = (props) => {
     return <p className="text-info text-center my-4">{t('admin:slack_integration.accordion.send_message_to_slack_work_space')}</p>;
   }
 
-  if (logsValue == null) {
+  if (logsValue === '') {
     return <p></p>;
   }