Commit 74a41e9
Fix last selected column not displaying until next toggle
The displayColumns array was computed in booted() before Livewire
hydrated the updated selectedColumns property, so it always reflected
the previous state. Recompute displayColumns in updatedSelectedColumns()
so the newly toggled column passes the in_array gate immediately.
Also increase checkbox debounce from 500ms to 1000ms to better batch
rapid column toggles.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2a53993 commit 74a41e9
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments