Commit 8f744ec
fix: resolve strict mode violation for duplicate dialog buttons in visual editor
When creating multiple nested checklists, Angular Material keeps previous
dialog elements in the DOM, causing #changeChecklistSaveCancelBtn and
#changeChecklistSaveBtn to match 2 elements. Use .last() to target the
topmost (most recent) dialog.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0828144 commit 8f744ec
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments