Re-select selected communication on fetch

This makes it so the UI updates with any changes we pull down.
This commit is contained in:
Eli Ribble 2026-03-14 20:03:46 +00:00
parent a8f2c87e38
commit 70d3aef8b3
No known key found for this signature in database
3 changed files with 12 additions and 6 deletions

View file

@ -19,11 +19,6 @@ type historyEntry struct {
Action string `json:"action"`
Timestamp time.Time `json:"timestamp"`
}
type reporter struct {
HasEmail bool `json:"has_email"`
HasPhone bool `json:"has_phone"`
Name string `json:"name"`
}
type communication struct {
Created time.Time `json:"created"`
History []historyEntry `json:"history"`