edit notifications modal fixed (#219)

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
formsdev 2023-10-12 16:50:38 +05:30 committed by GitHub
parent c02af7800e
commit 30aee7813c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ export default {
watch: {},
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 = {}
}
},

View File

@ -74,7 +74,7 @@ export default {
watch: {},
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 = {}
}
},