add status column in resource table

This commit is contained in:
Pallavi Kumari
2025-10-21 11:55:14 +05:30
parent ad6bb3da9f
commit 54f7525f1b
3 changed files with 165 additions and 50 deletions

View File

@@ -92,7 +92,14 @@ export default async function ResourcesPage(props: ResourcesPageProps) {
: "not_protected",
enabled: resource.enabled,
domainId: resource.domainId || undefined,
ssl: resource.ssl
ssl: resource.ssl,
targets: resource.targets?.map(target => ({
targetId: target.targetId,
ip: target.ip,
port: target.port,
enabled: target.enabled,
healthStatus: target.healthStatus
}))
};
});