diff --git a/package/gluon-web-node-role/luasrc/lib/gluon/config-mode/model/admin/noderole.lua b/package/gluon-web-node-role/luasrc/lib/gluon/config-mode/model/admin/noderole.lua index 9d610663..9447a939 100644 --- a/package/gluon-web-node-role/luasrc/lib/gluon/config-mode/model/admin/noderole.lua +++ b/package/gluon-web-node-role/luasrc/lib/gluon/config-mode/model/admin/noderole.lua @@ -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)