zahmis 5 سال پیش
والد
کامیت
9d0274b42e
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettingsAccordion.jsx

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

@@ -164,6 +164,7 @@ const CustomBotWithoutProxySettingsAccordion = ({
               <button
                 type="button"
                 className="btn btn-info m-3 font-weight-bold"
+                disabled={testChannel.trim() === ''}
                 onClick={onTestConnectionHandler}
               >Test
               </button>