Commit 5aada4e9 authored by Douwe Maan's avatar Douwe Maan
Browse files

Remove weirdness.

parent 5be3b6004960
......@@ -20,7 +20,7 @@
end
def boolean_to_icon(value)
if value.to_s == "true"
if value
icon('circle', class: 'cgreen')
else
icon('power-off', class: 'clgray')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment