Fix bug on vis metric regarding applying the light theme when thebg is dark (#67481)
This commit is contained in:
parent
b9d1cec7fd
commit
cc83cfa3c7
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ export class MetricVisComponent extends Component<MetricVisComponentProps> {
|
|||
return false;
|
||||
}
|
||||
|
||||
const [red, green, blue] = colors.slice(1).map(parseInt);
|
||||
const [red, green, blue] = colors.slice(1).map((c) => parseInt(c, 10));
|
||||
return isColorDark(red, green, blue);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue