Follow up for issue #1276 - only set channel data if matrix exists.
This commit is contained in:
parent
fb8f07e6e9
commit
ac8ae54841
1 changed files with 7 additions and 6 deletions
|
@ -135,6 +135,7 @@ class Index extends App.ControllerSubContent
|
||||||
}
|
}
|
||||||
|
|
||||||
# check missing channels
|
# check missing channels
|
||||||
|
if params['notification_config']
|
||||||
for key, value of params['notification_config']['matrix']
|
for key, value of params['notification_config']['matrix']
|
||||||
if !value.channel
|
if !value.channel
|
||||||
value.channel = {
|
value.channel = {
|
||||||
|
|
Loading…
Reference in a new issue