mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Wrong translation key for sorting (#11281)
This commit is contained in:
@@ -173,7 +173,7 @@
|
||||
let sorted = {};
|
||||
Object.keys(groups).sort((a, b) => this.translatedCompare('settings.groups.', a, b)).forEach(group_key => {
|
||||
sorted[group_key] = {};
|
||||
Object.keys(groups[group_key]).sort((a, b) => this.translatedCompare('settings.sections.', a , b)).forEach(section_key => {
|
||||
Object.keys(groups[group_key]).sort((a, b) => this.translatedCompare('settings.sections.' + group_key + '.', a , b)).forEach(section_key => {
|
||||
sorted[group_key][section_key] = _.sortBy(groups[group_key][section_key], 'order').map(a => a.name);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user