Skip to content

Commit

Permalink
update lab diagonistic services concept source
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau committed Nov 13, 2024
1 parent 1227b06 commit 112f761
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/api/domains/domains.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{
"id": "diagnostic-services-imagin",
"name": "Diagnostic Services (Imaging)",
"apiUrls": ["/orgs/MOH-KENYA/sources/NPHL/"],
"apiUrls": ["/orgs/MOH-KENYA/sources/"],
"icon": "microscope2",
"metadata": {
"subdomainQueryParam": "conceptClass=Subdomain",
Expand Down
9 changes: 7 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,15 @@ export default function Home() {
<span
style={{ fontWeight: "500", color: "black" }}
>
{new Intl.NumberFormat().format(
{Number.isFinite(
domain.sources_data[0]?.summary
?.active_concepts
) || 0}
)
? new Intl.NumberFormat().format(
domain.sources_data[0]?.summary
?.active_concepts
)
: 0}
</span>
</Box>
</Box>
Expand Down

0 comments on commit 112f761

Please sign in to comment.