Skip to content

Commit

Permalink
Fix incorrect assignment of class handled to the service badges in se…
Browse files Browse the repository at this point in the history
…rvice grid.
  • Loading branch information
raviks789 authored and nilmerg committed Nov 12, 2021
1 parent 8b7e83f commit 02bf383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/views/scripts/services/grid-flipped.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ foreach ($pivotData as $serviceDescription => $_) {
$service->service_display_name,
$service->host_display_name
),
'class' => 'service-grid-link state-' . ServiceStates::text($service->service_state) . ($service->service_handled ? ' handled' : ''),
'class' => 'service-grid-link state-' . ServiceStates::text($service->service_state) . ($service->service_handled === 'y' ? ' handled' : ''),
'title' => $service->service_output
)
) ?>
Expand Down
2 changes: 1 addition & 1 deletion application/views/scripts/services/grid.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ foreach ($pivotData as $hostName => $_) {
$service->service_display_name,
$service->host_display_name
),
'class' => 'service-grid-link state-' . ServiceStates::text($service->service_state) . ($service->service_handled ? ' handled' : ''),
'class' => 'service-grid-link state-' . ServiceStates::text($service->service_state) . ($service->service_handled === 'y' ? ' handled' : ''),
'title' => $service->service_output
)
) ?>
Expand Down

0 comments on commit 02bf383

Please sign in to comment.