Commit de5b7a0
committed
1 fix: update glossaries immutably in updateActiveGlossary
2
3 In-place mutation (`glossaries[index] = updatedGlossary`) preserved the array
4 reference, so GlossaryLeftPanel's memoized menu items never recomputed after a
5 displayName-only edit. Mirror the existing updateGlossary pattern by creating a
6 new array reference via map so downstream memos observe the change.
7
8 Fixes #326741 parent 9fe0f21 commit de5b7a0
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
0 commit comments