# HG changeset patch # User bsw # Date 1566826025 -7200 # Node ID 4badb51649f7e01254330699c7df10f03677de74 # Parent 63ce1a5c05c1bfc2169888fe1a3150f27d8f91af Suggestion opinion defaults to neutral diff -r 63ce1a5c05c1 -r 4badb51649f7 app/main/initiative/_suggestions.lua --- a/app/main/initiative/_suggestions.lua Wed Mar 27 12:40:33 2019 +0100 +++ b/app/main/initiative/_suggestions.lua Mon Aug 26 15:27:05 2019 +0200 @@ -221,7 +221,7 @@ } for i, option in ipairs(options) do - local active = opinion.degree == option.degree + local active = opinion.degree == option.degree or opinion.degree == nil and option.degree == 0 ui.tag{ tag = "label", attr = { class = "mdl-radio mdl-js-radio mdl-js-ripple-effect" },