Removed health status from Speed & RPM
This commit is contained in:
@@ -230,7 +230,9 @@ class TelemetryService
|
||||
$transformedTelemetry[] = [
|
||||
'display_name' => $displayNameMap[$key] ?? $key,
|
||||
'value' => $this->getTypeWiseValue($key, $value),
|
||||
'health_status' => !$isActive ? 'Offline' : $status,
|
||||
'health_status' => !$isActive
|
||||
? 'Offline'
|
||||
: (in_array($displayNameMap[$key], ['Speed', 'RPM']) ? 'Offline' : $status),
|
||||
'status_color' => !$isActive ? 'gray' : $statusColor,
|
||||
'thresholds' => $thresholds,
|
||||
'limit' => $thresholdLimits
|
||||
|
||||
Reference in New Issue
Block a user