Răsfoiți Sursa

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

fix null to ''
Sizma yosimaz 4 ani în urmă
părinte
comite
9bccc795b3

+ 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>;
   }