strings
This commit is contained in:
1 parent
50fd66ef56
commit
7a881fda03
2 files changed
+9
-4
No files matched your search
@@ -128,17 +128,17 @@ export const SummaryCardStats = ({ summary }: SummaryCardStatsProps) => {
|
||||
<SummaryCard title={t("pages.incidents.summaryCard.incidentStats.title")}>
|
||||
<SummaryItem
|
||||
icon={<Bell size={18} />}
|
||||
label="Total incidents"
|
||||
label={t("pages.incidents.summaryCard.incidentStats.totalIncidents")}
|
||||
value={summary?.total || 0}
|
||||
/>
|
||||
<SummaryItem
|
||||
icon={<TriangleAlert size={18} />}
|
||||
label="Most affected monitor"
|
||||
label={t("pages.incidents.summaryCard.incidentStats.mostAffectedMonitor")}
|
||||
value={mostAffected}
|
||||
/>
|
||||
<SummaryItem
|
||||
icon={<Wrench size={18} />}
|
||||
label="Average resolution time"
|
||||
label={t("pages.incidents.summaryCard.incidentStats.avgResolutionTime")}
|
||||
value={summary.total > 0 ? `${summary.avgResolutionTimeHours || 0} hours` : "N/A"}
|
||||
/>
|
||||
</SummaryCard>
|
||||
|
||||
@@ -360,7 +360,12 @@
|
||||
"active_other": "{{count}} Active incidents"
|
||||
},
|
||||
"latestIncidents": { "title": "Latest Incidents" },
|
||||
"incidentStats": { "title": "Incident Statistics" }
|
||||
"incidentStats": {
|
||||
"title": "Incident Statistics",
|
||||
"totalIncidents": "Total incidents",
|
||||
"mostAffectedMonitor": "Most affected monitor",
|
||||
"avgResolutionTime": "Average resolution time"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user