Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#2341 from kris6673/dev
Browse files Browse the repository at this point in the history
Add support for single tenant Service health report
  • Loading branch information
KelvinTegelaar authored Apr 19, 2024
2 parents 296f2c1 + 6e96182 commit f7b29fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/views/tenant/administration/ServiceHealth.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react'
import { useSelector } from 'react-redux'
import { CippPageList } from 'src/components/layout'
import { CellTip } from 'src/components/tables'

Expand Down Expand Up @@ -37,6 +38,7 @@ const columns = [
]

const ServiceHealth = () => {
const currentTenant = useSelector((state) => state.app.currentTenant)
return (
<CippPageList
capabilities={{ allTenants: true, helpContext: 'https://google.com' }}
Expand All @@ -45,6 +47,11 @@ const ServiceHealth = () => {
datatable={{
columns,
path: '/api/ListServiceHealth',
params: {
tenantFilter: currentTenant.customerId,
displayName: currentTenant.displayName,
defaultDomainName: currentTenant.defaultDomainName,
},
reportName: `Service-Health-Report`,
}}
/>
Expand Down

0 comments on commit f7b29fb

Please sign in to comment.