liquid_feedback_frontend

diff app/main/index/_head.lua @ 1700:f7c42bcf1490

Allow showing other units in single unit mode
author bsw
date Thu Sep 23 18:21:11 2021 +0200 (2021-09-23)
parents 446d2798f424
children 4a5a79a37db1
line diff
     1.1 --- a/app/main/index/_head.lua	Thu Sep 23 18:01:38 2021 +0200
     1.2 +++ b/app/main/index/_head.lua	Thu Sep 23 18:21:11 2021 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -local unit_id = app.single_unit_id or request.get_param{ name = "unit" }
     1.5 +local unit_id = config.single_unit_id or request.get_param{ name = "unit" } or app.single_unit_id
     1.6  local area_id = config.single_area_id or request.get_param{ name = "area" }
     1.7  
     1.8  local initiative = param.get("initiative", "table")

Impressum / About Us