First shot at a generic approve() function for modules, testing on change_policy

This commit is contained in:
Nathan Schneider
2022-08-05 16:10:56 -06:00
parent 99c75861b0
commit 1f33232394
4 changed files with 56 additions and 18 deletions

View File

@ -34,6 +34,8 @@ function display_policies:initiate(result)
elseif type(v2) == "table"
or type(v2) == "number" then
v2_string = tostring(v2)
elseif type(v2) == "boolean" then
v2_string = tostring(v2)
else
v2_string = "Could not render"
end