mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-22 03:05:32 +02:00
fix(frontend): resolve detail entry for any remaining child after ctrl-deselect
Add entryCacheRef (uid→entry Map) populated on every row click. When ctrl/meta-deselecting leaves exactly one other entry selected, look up the remaining UID in the cache before falling back to the root entries array. Without this, deselecting from a multi-selection where the remaining entry is a child row left selectedEntry null (auto-snap only searches root entries).
This commit is contained in:
parent
03406099de
commit
74d3b0b3be
3 changed files with 30 additions and 16 deletions
47
crates/archivr-server/static/assets/index-mnEjEwmD.js
Normal file
47
crates/archivr-server/static/assets/index-mnEjEwmD.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue