diff --git a/resources/js/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue b/resources/js/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue index ddb28f2..16ae57f 100644 --- a/resources/js/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue +++ b/resources/js/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue @@ -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 = {} } }, diff --git a/resources/js/components/open/forms/components/form-components/components/FormNotificationsSlack.vue b/resources/js/components/open/forms/components/form-components/components/FormNotificationsSlack.vue index bfc0d57..dde15fc 100644 --- a/resources/js/components/open/forms/components/form-components/components/FormNotificationsSlack.vue +++ b/resources/js/components/open/forms/components/form-components/components/FormNotificationsSlack.vue @@ -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 = {} } },