mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-22 03:05:32 +02:00
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.
13 lines
390 B
HTML
13 lines
390 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Archivr</title>
|
|
<script type="module" crossorigin src="/assets/index-CChk7xCp.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-vCRGeW0A.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|