liquid_feedback_frontend
changeset 1589:1c215ddaf09a
Fixed condition for showing action element in issues again
author | bsw |
---|---|
date | Wed Jan 27 10:05:30 2021 +0100 (2021-01-27) |
parents | 5a43c0d21825 |
children | 8b3375b7f590 |
files | app/main/issue/_list.lua |
line diff
1.1 --- a/app/main/issue/_list.lua Wed Jan 27 09:58:32 2021 +0100 1.2 +++ b/app/main/issue/_list.lua Wed Jan 27 10:05:30 2021 +0100 1.3 @@ -289,7 +289,7 @@ 1.4 if 1.5 app.session.member_id and ( 1.6 (not issue.fully_frozen and app.session.member:has_initiative_right_for_unit_id(issue.area.unit_id)) 1.7 - or (issue.state == 'voting' and app.session.member:has_voting_right_for_unit_id(issue.area.unit_id)) 1.8 + or (issue.state.fully_frozen and app.session.member:has_voting_right_for_unit_id(issue.area.unit_id)) 1.9 ) 1.10 then 1.11 ui.container{ attr = { class = "mdl-card__actions mdl-card--border" }, content = function()