Fix: ensure preview reload on live changes (#13321)

This commit is contained in:
shamoon
2026-07-26 22:36:03 +00:00
committed by GitHub
parent 3ba6d0325a
commit 317e534aa0
6 changed files with 82 additions and 2 deletions
@@ -1602,6 +1602,7 @@ describe('DocumentDetailComponent', () => {
expect(openDoc.__changedFields).toEqual([])
expect(setDirtySpy).toHaveBeenCalledWith(openDoc, false)
expect(saveSpy).toHaveBeenCalled()
expect(component.previewRevision()).toBe(1)
})
it('should ignore incoming update for a different document id', () => {