small fixes

This commit is contained in:
Forms Dev
2023-11-28 15:52:05 +05:30
parent 0a3a6092f6
commit 83d3eb6991
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ export default {
this.formInitialHash = this.hashString(JSON.stringify(this.updatedForm.data()))
}
if (!this.updatedForm.notification_settings || Array.isArray(this.updatedForm.notification_settings)) {
if (this.updatedForm && (!this.updatedForm.notification_settings || Array.isArray(this.updatedForm.notification_settings))) {
this.updatedForm.notification_settings = {}
}
},