Show breakdown for site settings.
This commit is contained in:
parent
64c0c968e4
commit
c872e3f092
|
@ -39,6 +39,11 @@ export default Ember.ArrayController.extend(Presence, {
|
||||||
});
|
});
|
||||||
if (matches.length > 0) {
|
if (matches.length > 0) {
|
||||||
matchesGroupedByCategory[0].siteSettings.pushObjects(matches);
|
matchesGroupedByCategory[0].siteSettings.pushObjects(matches);
|
||||||
|
matchesGroupedByCategory.pushObject({
|
||||||
|
nameKey: settingsCategory.nameKey,
|
||||||
|
name: I18n.t('admin.site_settings.categories.' + settingsCategory.nameKey),
|
||||||
|
siteSettings: matches
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue