[bug] fix automatic group name not being added when no name is entered

This commit is contained in:
zombieFox 2020-03-19 14:02:24 +00:00
parent db67fb93c6
commit b47f134736

View File

@ -237,7 +237,7 @@ var bookmarks = (function() {
return "Group " + count;
};
if (data) {
if (data.group.name == null) {
if (data.group.name.text == null) {
data.group.name.text = makeName();
} else if (typeof data.group.name.text == "string") {
data.group.name.text = data.group.name.text.trim();