Skip to content

Commit 407381f

Browse files
kodster28sdnts
authored andcommitted
[Bug] Expand header value for partial usage (cloudflare#23691)
1 parent 634acda commit 407381f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/PartialsUsage.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ const partials = await getPartialsUsage();
1212
[...Object.entries(partials)]
1313
.sort((a, b) => a[0].localeCompare(b[0]))
1414
.map(([name, usage]) => (
15-
<Details header={`${name} (${usage.pages.size} usages)`} id={name}>
15+
<Details
16+
header={`${name} (${usage.count} uses on ${usage.pages.size} pages)`}
17+
id={name}
18+
>
1619
<UsageList usage={usage} />
1720
</Details>
1821
))

0 commit comments

Comments
 (0)