diff --git a/client-reactjs/src/components/admin/ClusterDetails.jsx b/client-reactjs/src/components/admin/ClusterDetails.jsx
index 3891416d5..fb73693b0 100644
--- a/client-reactjs/src/components/admin/ClusterDetails.jsx
+++ b/client-reactjs/src/components/admin/ClusterDetails.jsx
@@ -60,7 +60,7 @@ function ClusterDetails() {
return (
-
+
{clusterMetaData ? (
<>
diff --git a/client-reactjs/src/components/admin/Integrations/IntegrationForms/ASRForm.js b/client-reactjs/src/components/admin/Integrations/IntegrationForms/ASRForm.js
index d1364c53b..a068abbbe 100644
--- a/client-reactjs/src/components/admin/Integrations/IntegrationForms/ASRForm.js
+++ b/client-reactjs/src/components/admin/Integrations/IntegrationForms/ASRForm.js
@@ -1,16 +1,29 @@
import React from 'react';
-import { useEffect } from 'react';
-import { Form, Input, Switch, Tabs } from 'antd';
+import { useEffect, useState } from 'react';
+import { Form, Select, Switch, Tabs, message } from 'antd';
+import { isEmail } from 'validator';
+import { getAllTeamsHook } from '../../../application/jobMonitoring/jobMonitoringUtils';
const { TabPane } = Tabs;
+const { Option } = Select;
const ASRForm = ({ setNotifications, notifications, setActive, selectedIntegration }) => {
const [notificationForm] = Form.useForm();
+ const [teamsHooks, setTeamsHook] = useState([]);
useEffect(() => {
- console.log('setting fields values');
- console.log(selectedIntegration);
+ //Get all teams hook
+ (async () => {
+ try {
+ const allTeamsHook = await getAllTeamsHook();
+ setTeamsHook(allTeamsHook);
+ } catch (error) {
+ message.error('Error fetching teams hook');
+ }
+ })();
+ }, []);
+ useEffect(() => {
notificationForm.setFieldsValue({
notificationEmailsSev3: selectedIntegration?.metaData?.notificationEmailsSev3,
megaphone: selectedIntegration?.config?.megaphoneActive,
@@ -22,7 +35,7 @@ const ASRForm = ({ setNotifications, notifications, setActive, selectedIntegrati
return (
<>