Remove weirdness.
This commit is contained in:
parent
123af78561
commit
02b7be4a68
|
@ -20,7 +20,7 @@ module IconsHelper
|
|||
end
|
||||
|
||||
def boolean_to_icon(value)
|
||||
if value.to_s == "true"
|
||||
if value
|
||||
icon('circle', class: 'cgreen')
|
||||
else
|
||||
icon('power-off', class: 'clgray')
|
||||
|
|
Loading…
Reference in New Issue