Skip to content
Snippets Groups Projects
Unverified Commit a3a8d962 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

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

Fixes: 4249d65a ("treewide: fix luacheck warnings")
Closes: #1851
parent e3bdfeef
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment