fix notification settings actions (#216)

This commit is contained in:
formsdev
2023-10-08 13:58:46 +05:30
committed by GitHub
parent f7ecd6f233
commit 95b2870e2f
4 changed files with 12 additions and 2 deletions

View File

@@ -108,6 +108,10 @@ export default {
this.updatedForm = new Form(this.form)
this.formInitialHash = this.hashString(JSON.stringify(this.updatedForm.data()))
}
if(!this.updatedForm.notification_settings || Array.isArray(this.updatedForm.notification_settings)){
this.updatedForm.notification_settings = {}
}
},
methods: {