Skip to content

Commit

Permalink
Merge pull request #861 from ignacionar/#847
Browse files Browse the repository at this point in the history
#847 Fix for displaying Unhealthy status correctly in Android
  • Loading branch information
dhreben authored Dec 26, 2023
2 parents f230207 + 4d91260 commit 5900e11
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ module.exports = function EnhanceDeviceServiceFactory($filter, AppState) {
device.enhancedStatePassive = $filter('statusNamePassive')('available')
return
}
if (device.ios && device.status === 1) {
if (device.status === 1) {
device.enhancedStateAction = $filter('statusNameAction')('offline')
device.enhancedStatePassive = $filter('statusNamePassive')('offline')
return
}
if (device.ios && device.status === 7) {
if (device.status === 7) {
device.enhancedStateAction = $filter('statusNameAction')('unhealthy')
device.enhancedStatePassive = $filter('statusNamePassive')('unhealthy')
return
Expand Down

0 comments on commit 5900e11

Please sign in to comment.