Skip to content

Commit

Permalink
Fix issue with Document form changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcibotari committed Dec 11, 2024
1 parent 457bfe9 commit 2a1a83a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class EditDocumentComponent implements OnInit, DirtyFormGuardComponent {
}

get isFormDirty(): boolean {
return !ObjectUtils.isEqual(this.document?.data, this.contentHelperService.clone(this.documentData));
return !ObjectUtils.isEqual(this.document?.data, JSON.stringify(this.contentHelperService.clone(this.documentData)));
}

publish(): void {
Expand Down

0 comments on commit 2a1a83a

Please sign in to comment.