diff --git a/Tombolo/client-reactjs/src/components/application/dashboard/notifications/NotificationDashboard.jsx b/Tombolo/client-reactjs/src/components/application/dashboard/notifications/NotificationDashboard.jsx index 2684de742..076ebb78f 100644 --- a/Tombolo/client-reactjs/src/components/application/dashboard/notifications/NotificationDashboard.jsx +++ b/Tombolo/client-reactjs/src/components/application/dashboard/notifications/NotificationDashboard.jsx @@ -1,5 +1,6 @@ // Package imports import React, { useState, useEffect } from 'react'; +import { useSelector } from 'react-redux'; import { Empty } from 'antd'; // Local Imports @@ -10,6 +11,9 @@ import NotificationCountByOriginDonut from './charts/NotificationCountByOriginDo function NotificationDashboard({ sentNotifications, dashBoardFilter, monitorings, productCategories }) { const [filteredNotifications, setFilteredNotifications] = useState([]); + const { applicationReducer } = useSelector((state) => state); + const { integrations: allIntegrations = [] } = applicationReducer; + const integrationCodes = allIntegrations.map((integration) => integration.name); useEffect(() => { console.log('Loading ...'); @@ -67,13 +71,15 @@ function NotificationDashboard({ sentNotifications, dashBoardFilter, monitorings -
-
Notifications by Product with Status Count
- -
+ {integrationCodes.includes('ASR') && ( +
+
Notifications by Product with Status Count
+ +
+ )} )} diff --git a/Tombolo/client-reactjs/src/components/application/dashboard/notifications/NotificationTableFilters.jsx b/Tombolo/client-reactjs/src/components/application/dashboard/notifications/NotificationTableFilters.jsx index b287c40aa..5df54cce0 100644 --- a/Tombolo/client-reactjs/src/components/application/dashboard/notifications/NotificationTableFilters.jsx +++ b/Tombolo/client-reactjs/src/components/application/dashboard/notifications/NotificationTableFilters.jsx @@ -92,8 +92,8 @@ function NotificationTableFilters({ setFilters, sentNotifications, monitorings,
Status
- {domainOptions.map((d) => ( - ))} @@ -118,8 +118,8 @@ function NotificationTableFilters({ setFilters, sentNotifications, monitorings,
Product