fix: #8595, dont save escaped data when renaming groups

This commit is contained in:
Barış Soner Uşaklı
2020-10-20 00:24:34 -04:00
parent ea31f50554
commit b26e9b5993
3 changed files with 86 additions and 90 deletions

View File

@@ -232,7 +232,7 @@ module.exports = function (Groups) {
navItem.groups.splice(navItem.groups.indexOf(oldName), 1, newName);
}
});
navigation.unescapeFields(navItems);
await navigation.save(navItems);
}