liquid_feedback_frontend
changeset 1729:ae45894bbf08
Check for member before checking supporter status
author | bsw |
---|---|
date | Tue Sep 28 15:01:54 2021 +0200 (2021-09-28) |
parents | c06c22e8ee35 |
children | dc54e50a70b9 |
files | app/main/initiative/_suggestions.lua |
line diff
1.1 --- a/app/main/initiative/_suggestions.lua Tue Sep 28 13:54:08 2021 +0200 1.2 +++ b/app/main/initiative/_suggestions.lua Tue Sep 28 15:01:54 2021 +0200 1.3 @@ -140,7 +140,7 @@ 1.4 1.5 ui.container { content = _"written and rated by the supportes of this initiative to improve the proposal and its reasons" } 1.6 1.7 - if initiative.member_info.supported and not active_trustee_id then 1.8 + if app.session.member_id and initiative.member_info.supported and not active_trustee_id then 1.9 ui.link { 1.10 attr = { 1.11 style = "margin-top: 1ex;",