Skip to content

Commit

Permalink
gluon-web-node-role: fix node role list
Browse files Browse the repository at this point in the history
Fixes: 4249d65 ("treewide: fix luacheck warnings")
Closes: #1851
(cherry picked from commit a3a8d96)
  • Loading branch information
neocturne committed Nov 5, 2019
1 parent 0dc85a0 commit 4942602
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4942602

Please sign in to comment.