Files
payloadcms/docs
Tobias Odendahl 08a6f88a4b fix(ui): reset columns state throwing errors (#11903)
### What?
Fixes `resetColumnsState` in `useTableColumns` react hook.

### Why?
`resetColumnsState` threw errors when being executed, e.g. `Uncaught (in
promise) TypeError: Cannot read properties of undefined (reading
'findIndex')`

### How?
Removes unnecessary parsing of URL query parameters in
`setActiveColumns` when resetting columns.

---------

Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com>
2025-06-02 14:24:00 -04:00
..
2025-05-28 06:47:51 -07:00
2025-05-22 10:04:45 -04:00
2025-05-28 06:47:51 -07:00
2025-06-02 14:39:44 +03:00