Skip to content

fix(frontend): defer review list update to avoid NG0100#534

Merged
algirdasc merged 1 commit into
mainfrom
fix/import-review-change-detection
Jul 4, 2026
Merged

fix(frontend): defer review list update to avoid NG0100#534
algirdasc merged 1 commit into
mainfrom
fix/import-review-change-detection

Conversation

@algirdasc

Copy link
Copy Markdown
Owner

Fixes ExpressionChangedAfterItHasBeenCheckedError in statement review dialog. List mutation ran inside the same change detection cycle that closed the child dialog, so the list only refreshed after the next user action. Now the mutation is deferred to the next tick and the empty-close is centralized.

- close expense dialog with a signal instead of mutating list inside close callback
- defer removeExpenseFromList via setTimeout so it runs after change detection
- centralize empty-close in removeExpenseFromList
@algirdasc
algirdasc merged commit 5741e30 into main Jul 4, 2026
3 checks passed
@algirdasc
algirdasc deleted the fix/import-review-change-detection branch July 4, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant