Fixes #3204 - Limit Groups in Notification settings should be in alphabetical order.
This commit is contained in:
parent
360ab528e4
commit
fc987d7bcb
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ class Index extends App.ControllerSubContent
|
|||
config['group_ids'] = []
|
||||
config['group_ids'].push group_id.toString()
|
||||
|
||||
groups = _.sortBy(groups, (item) -> return item.name)
|
||||
|
||||
for sound in @sounds
|
||||
sound.selected = sound.file is App.OnlineNotification.soundFile() ? true : false
|
||||
|
||||
|
|
Loading…
Reference in a new issue