diff --git a/src/components/PingChart.vue b/src/components/PingChart.vue index 1eeaed5f7..73d86690e 100644 --- a/src/components/PingChart.vue +++ b/src/components/PingChart.vue @@ -391,7 +391,7 @@ export default { pingData.push({ x, - y: (beat.status === UP || (beat.status === DOWN && isUpsideDown)) ? beat.ping : null, + y: (isUpsideDown ? beat.status === DOWN : beat.status === UP) ? beat.ping : null, }); downData.push({ x,