liquid_feedback_frontend

diff app/main/index/index.lua @ 1598:6b203b43bef3

Reworked unit and area head and delegation buttons
author bsw
date Sun Jan 31 22:04:30 2021 +0100 (2021-01-31)
parents ec0d69b4bb20
children a3a7120a67be
line diff
     1.1 --- a/app/main/index/index.lua	Sun Jan 31 20:37:22 2021 +0100
     1.2 +++ b/app/main/index/index.lua	Sun Jan 31 22:04:30 2021 +0100
     1.3 @@ -8,6 +8,7 @@
     1.4  
     1.5  if unit_id == "all" then
     1.6    unit_id = nil
     1.7 +  area_id = nil
     1.8  end
     1.9  
    1.10  if area_id == "all" then
    1.11 @@ -26,6 +27,7 @@
    1.12    end
    1.13  end
    1.14  
    1.15 +
    1.16  if area_id then
    1.17    area = Area:by_id(area_id)
    1.18    if not area or area.unit_id ~= unit.id then

Impressum / About Us