1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-22 03:05:32 +02:00
archivr/crates/archivr-server
TheGeneralist f096b052ab
fix(frontend): guard handleArchive against Enter-key bypass of disabled state
The Archive button is disabled when anyConflict || anyProbing, but
onKeyDown on the locator input calls onSubmit() → handleArchive()
directly, bypassing the button's disabled check entirely.

Add the same conditions as early returns inside handleArchive itself,
operating on toSubmit (the items that would actually be submitted) so
the guard is tight — items with no locator are already excluded by the
toSubmit filter.
2026-07-20 22:51:39 +02:00
..
src feat(server,frontend): playlist quality selector + per-video overrides + sync UI 2026-07-20 22:46:30 +02:00
static fix(frontend): guard handleArchive against Enter-key bypass of disabled state 2026-07-20 22:51:39 +02:00
Cargo.toml feat: entry previews (#24) 2026-07-12 16:23:04 +02:00