diff --git a/src/groups.js b/src/groups.js index 1496a2c7cf..5bd185f79a 100644 --- a/src/groups.js +++ b/src/groups.js @@ -232,8 +232,8 @@ } db.setObject('group:' + groupName, { - userTitle: values.userTitle, - description: values.description, + userTitle: values.userTitle || '', + description: values.description || '', icon: values.icon || '', labelColor: values.labelColor || '#000000', hidden: values.hidden || '0'