@centreon/ui 24.4.1-MON-34407-implement-the-status-chart-widget.8 → 24.4.1-MON-34407-implement-the-status-chart-widget.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@centreon/ui",
|
|
3
|
-
"version": "24.4.1-MON-34407-implement-the-status-chart-widget.
|
|
3
|
+
"version": "24.4.1-MON-34407-implement-the-status-chart-widget.10",
|
|
4
4
|
"description": "Centreon UI Components",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings 0",
|
|
@@ -110,7 +110,7 @@ const ResponsivePie = ({
|
|
|
110
110
|
>
|
|
111
111
|
{equals(variant, 'pie') && title && (
|
|
112
112
|
<div className={classes.title} data-testid="Title" ref={titleRef}>
|
|
113
|
-
{`${numeral(total).format('0a').toUpperCase()} `} {title}
|
|
113
|
+
{`${numeral(total).format('0a').toUpperCase()} `} {t(title)}
|
|
114
114
|
</div>
|
|
115
115
|
)}
|
|
116
116
|
<div
|
|
@@ -226,7 +226,7 @@ const ResponsivePie = ({
|
|
|
226
226
|
fill={theme.palette.text.primary}
|
|
227
227
|
textAnchor="middle"
|
|
228
228
|
>
|
|
229
|
-
{title}
|
|
229
|
+
{t(title)}
|
|
230
230
|
</Text>
|
|
231
231
|
</>
|
|
232
232
|
)}
|