edit notifications modal fixed (#219)
Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
parent
c02af7800e
commit
30aee7813c
|
@ -73,7 +73,7 @@ export default {
|
||||||
watch: {},
|
watch: {},
|
||||||
|
|
||||||
mounted () {
|
mounted () {
|
||||||
if(!this.form.notification_settings.discord){
|
if(!this.form.notification_settings.discord || Array.isArray(this.form.notification_settings.discord)){
|
||||||
this.form.notification_settings.discord = {}
|
this.form.notification_settings.discord = {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -74,7 +74,7 @@ export default {
|
||||||
watch: {},
|
watch: {},
|
||||||
|
|
||||||
mounted () {
|
mounted () {
|
||||||
if(!this.form.notification_settings.slack){
|
if(!this.form.notification_settings.slack || Array.isArray(this.form.notification_settings.slack)){
|
||||||
this.form.notification_settings.slack = {}
|
this.form.notification_settings.slack = {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue