send the map selection to change detection and show the modified class

The comparison hook runs before the selection state is declared in App, so the
selection is read through a getter at the moment the run starts rather than
captured at render. The panel gains the modified count, which until now was
folded into removed plus added.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Jens
2026-08-22 14:56:37 +02:00
co-authored by Claude Opus 5
parent ea0e401690
commit 9614307669
4 changed files with 34 additions and 1 deletions
@@ -120,6 +120,10 @@ export function ChangeDetectionPanel({
<span className="metric">{result.removed_count}</span>
<span>Verdwenen</span>
</div>
<div>
<span className="metric">{result.modified_count ?? 0}</span>
<span>Gewijzigd</span>
</div>
<div>
<span className="metric">{result.unchanged_count}</span>
<span>Ongewijzigd</span>