fix(explorer): remove purple from ping (#23445)

This commit is contained in:
Josh 2022-03-02 08:57:41 -08:00 committed by GitHub
parent 9ec514f6c5
commit d43786edcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -193,10 +193,10 @@ function PingBarChart({ pingInfo }: { pingInfo: PingRollupInfo }) {
datasets: [ datasets: [
{ {
backgroundColor: seriesData.map((val) => backgroundColor: seriesData.map((val) =>
val.loss ? "#fa62fc" : "#00D192" val.loss > 0.5 ? "#f00" : "#00D192"
), ),
hoverBackgroundColor: seriesData.map((val) => hoverBackgroundColor: seriesData.map((val) =>
val.loss ? "#fa62fc" : "#00D192" val.loss > 0.5 ? "#f00" : "#00D192"
), ),
borderWidth: 0, borderWidth: 0,
data: seriesData.map((val) => val.mean || 0), data: seriesData.map((val) => val.mean || 0),