gluon-web-node-role: fix node role list

Fixes: 4249d65af7 ("treewide: fix luacheck warnings")
Closes: #1851
This commit is contained in:
Matthias Schiffer 2019-11-05 20:02:08 +01:00
parent e3bdfeefa1
commit a3a8d962fc
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ s = f:section(Section, nil, translate(
o = s:option(ListValue, "role", translate("Role"))
o.default = role
for _, role_value in ipairs(site.roles.list()) do
o:value(role, site_i18n.translate('gluon-web-node-role:role:' .. role_value))
o:value(role_value, site_i18n.translate('gluon-web-node-role:role:' .. role_value))
end
function o:write(data)