Fixed all settings appearing in home and post groups

refs f4596a0add

- when extracting the groups code from component to service some variable names were changed but the assignment was missed meaning we were assigning all settings rather than specific group settings to each `group.settings` array
This commit is contained in:
Kevin Ansfield 2021-10-14 16:58:05 +01:00
parent 0b846e4909
commit 9eb2832cd2

View File

@ -102,7 +102,7 @@ export default class CustomThemeSettingsServices extends Service {
const groupSettings = settings.filter(setting => setting.group === knownGroup.key);
if (groupSettings.length) {
groups.push(Object.assign({}, knownGroup, {settings}));
groups.push(Object.assign({}, knownGroup, {settings: groupSettings}));
}
});