Skip to content

Commit 1df217e

Browse files
Fix compare.
1 parent edc71da commit 1df217e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/app/features/content/pages/content/content-page.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ export class ContentPageComponent implements CanComponentDeactivate, OnInit {
368368
public loadVersion(version: number | null, compare: boolean) {
369369
const content = this.content;
370370

371-
if (!content || version === null || version != content.version) {
371+
if (!content || version === null || version === content.version) {
372372
this.contentFormCompare = null;
373373
this.contentVersion = null;
374374
this.loadContent(content?.data || {}, true);

0 commit comments

Comments
 (0)