liquid_feedback_frontend
diff app/main/issue/_head.lua @ 1696:446d2798f424
Automatically switch to single unit mode for users having only one unit
| author | bsw |
|---|---|
| date | Thu Sep 23 17:47:58 2021 +0200 (2021-09-23) |
| parents | 32cc544d5a5b |
| children |
line diff
1.1 --- a/app/main/issue/_head.lua Thu Sep 23 14:30:18 2021 +0200 1.2 +++ b/app/main/issue/_head.lua Thu Sep 23 17:47:58 2021 +0200 1.3 @@ -5,7 +5,7 @@ 1.4 1.5 ui.title ( function () 1.6 1.7 - if not config.single_unit_id then 1.8 + if not app.single_unit_id then 1.9 ui.link { 1.10 attr = { class = "unit" }, 1.11 content = function()