fix percentage uptimePoor
This commit is contained in:
1 parent
dbd351b2f1
commit
d027407562
4 files changed
+5
-5
No files matched your search
@@ -58,7 +58,7 @@ function Gauge({ progressValue, width = DEFAULT_WIDTH }) {
|
||||
const chartColor =
|
||||
progressValue > PROGRESS_THRESHOLD
|
||||
? theme.palette.primary.main
|
||||
: theme.palette.percentage.uptimePoor;
|
||||
: theme.palette.error.main;
|
||||
const chartData = [
|
||||
CHART_MAXIMUM_DATA,
|
||||
{
|
||||
@@ -82,7 +82,7 @@ function Gauge({ progressValue, width = DEFAULT_WIDTH }) {
|
||||
fill={
|
||||
progressValue > PROGRESS_THRESHOLD
|
||||
? theme.palette.primary.main
|
||||
: theme.palette.percentage.uptimePoor
|
||||
: theme.palette.error.main
|
||||
}
|
||||
background={{ fill: theme.palette.primary.lowContrast }}
|
||||
label={{
|
||||
|
||||
Reference in new issue
Block a user