Fixes #1362 If duplicated group has little star the new group has the star too.

This commit is contained in:
Matthieu Leproux
2021-05-07 16:41:48 +02:00
parent 451cbdbbc9
commit f14f10f4a4

View File

@@ -442,6 +442,12 @@ var duplicateAction = function(id) {
groupbox.insertAfter($("#group-"+id));
setupGroupBox(groupbox);
updateBadge();
/* data.result.groups[0].is_default is a string */
if(data.result.groups[0].is_default == "true") {
console.log('here: ' +id);
setupDefaultActions(data.result.groups[0].id, true);
}
}
},
error: function (err) {