fix: mod panel secondary role builder

This commit is contained in:
trisua 2025-07-08 17:52:39 -04:00
parent 65e5d5f4e9
commit e72ccf9139

View file

@ -302,7 +302,7 @@
(text "{{ text \"mod_panel:label.permissions_level_builder\" }}")))
(button
("class" "small lowered")
("onclick" "update_user_secondary_role(Number.parseInt(document.getElementById('role').value))")
("onclick" "update_user_secondary_role(Number.parseInt(document.getElementById('secondary_role').value))")
(text "{{ icon \"check\" }}")
(span
(text "{{ text \"general:action.save\" }}"))))