Updates
This commit is contained in:
parent
5af4e6c2ad
commit
ded38b731b
@ -10,12 +10,16 @@ export default function AdminSummary() {
|
|||||||
|
|
||||||
if (!deployment) return null;
|
if (!deployment) return null;
|
||||||
|
|
||||||
|
const total_services = deployment.services.filter(
|
||||||
|
(srv) => !srv.parent_service_name,
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack className="w-full gap-0">
|
<Stack className="w-full gap-0">
|
||||||
<Stack className="grid-cell-content">
|
<Stack className="grid-cell-content">
|
||||||
<Span>{deployment.services.length} Services</Span>
|
<Span>{total_services.length} Services</Span>
|
||||||
<Row>
|
<Row>
|
||||||
{deployment.services.map((service, index) => {
|
{total_services.map((service, index) => {
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
key={index}
|
key={index}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user