Fixes tab pluralization (#1334)

This commit is contained in:
Patrick Deuley
2025-10-13 15:11:55 -06:00
committed by GitHub
parent c65ce9074f
commit 147f417c97
@@ -15,7 +15,7 @@
<p-tablist>
@for (tab of tabConfigs; track tab.type) {
<p-tab [value]="tab.type">
<i class="pi {{ tab.icon }}"></i> {{ tab.label }}s ({{ getMetadataItems(tab.type).length }})
<i class="pi {{ tab.icon }}"></i> {{ tab.label.endsWith('s') ? tab.label : tab.label + 's' }} ({{ getMetadataItems(tab.type).length }})
</p-tab>
}
</p-tablist>