sunguroku 4 лет назад
Родитель
Сommit
27c0743d6f

+ 2 - 2
dashboard/src/main/home/cluster-dashboard/expanded-chart/NotificationSettingsSection.tsx

@@ -103,7 +103,7 @@ const NotificationSettingsSection: React.FC<Props> = (props) => {
         setSaveLoading(false);
       });
   };
-
+  
   return (
     <>
       <Heading>Notification Settings</Heading>
@@ -120,7 +120,7 @@ const NotificationSettingsSection: React.FC<Props> = (props) => {
           {hasNotifications != null && !hasNotifications ? (
             <Banner type="warning">
               No integration has been set up for notifications.{" "}
-              <A href="http://localhost:8080/integrations/slack">
+              <A href={`${window.location.protocol}//${window.location.host}/integrations/slack`} >
                 Connect to Slack
               </A>
             </Banner>