liquid_feedback_frontend
changeset 1737:70c81027dbd5
Render survey notifcation only if survey module is enabled
author | bsw |
---|---|
date | Mon Oct 11 09:37:26 2021 +0200 (2021-10-11) |
parents | 40a388c07af9 |
children | 38a8b840bff7 |
files | app/main/_filter_view/30_navigation.lua |
line diff
1.1 --- a/app/main/_filter_view/30_navigation.lua Mon Oct 11 09:33:20 2021 +0200 1.2 +++ b/app/main/_filter_view/30_navigation.lua Mon Oct 11 09:37:26 2021 +0200 1.3 @@ -116,7 +116,7 @@ 1.4 end) 1.5 end 1.6 1.7 -if request.get_module() ~= "survey" then 1.8 +if config.survey and request.get_module() ~= "survey" then 1.9 execute.view{ module = "survey", view = "_notification" } 1.10 end 1.11