fix: update project type display in TeamLeadsDashboard to use translation keys

This commit is contained in:
2026-01-14 07:59:26 +01:00
parent b16cc688b1
commit e29f703d16

View File

@@ -238,7 +238,7 @@ export default function TeamLeadsDashboard() {
{summaryData?.byType && Object.entries(summaryData.byType).map(([type, data]) => ( {summaryData?.byType && Object.entries(summaryData.byType).map(([type, data]) => (
<div key={type} className="bg-white dark:bg-gray-800 p-6 rounded-lg border border-gray-200 dark:border-gray-700"> <div key={type} className="bg-white dark:bg-gray-800 p-6 rounded-lg border border-gray-200 dark:border-gray-700">
<h3 className="text-lg font-medium text-gray-900 dark:text-white mb-4 capitalize text-center"> <h3 className="text-lg font-medium text-gray-900 dark:text-white mb-4 capitalize text-center">
{type.replace('+', ' + ')} {t(`projectType.${type}`)}
</h3> </h3>
{/* Mini pie chart */} {/* Mini pie chart */}