liquid_feedback_frontend
changeset 1441:ef6d09c45f4b
Fixed usage of object instead of attribute
author | bsw |
---|---|
date | Thu Oct 18 13:05:03 2018 +0200 (2018-10-18) |
parents | 21477830970e |
children | 0e979f5360ce |
files | app/main/registration_admin/verification.lua |
line diff
1.1 --- a/app/main/registration_admin/verification.lua Thu Oct 18 13:04:13 2018 +0200 1.2 +++ b/app/main/registration_admin/verification.lua Thu Oct 18 13:05:03 2018 +0200 1.3 @@ -90,7 +90,7 @@ 1.4 value = tonumber(data[field.name]) 1.5 } 1.6 local requested_unit = Unit:by_id(tonumber(verification.request_data.unit)) 1.7 - ui.tag{ content = requested_unit or "-" } 1.8 + ui.tag{ content = requested_unit and requested_unit.name or "-" } 1.9 elseif field.name == "sequential_number" then 1.10 ui.tag{ tag = "label", content = field.label } 1.11 slot.put(" ")