summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--provisioning-model.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/provisioning-model.lua b/provisioning-model.lua
index 28ba58c..635c800 100644
--- a/provisioning-model.lua
+++ b/provisioning-model.lua
@@ -1123,6 +1123,7 @@ get_device_params = function(device_id, editable)
-- Loop through the groups and put them into the result
for i,g in ipairs(tmp) do
retval[g.name] = g
+ retval[g.name].label = g.name
retval[g.name].type="group"
end
-- Then, get all of the parameters for this device