fix(frontend): restore capture/drag overlay state vars

Same class of bug as cd982f2: 9878ab4 (extract FilesTab) also
removed 'let' declarations for capture/drag-drop state that's still
used by the inbox capture flow and CaptureDropOverlay:

  captureDropActive, captureDropLabel, captureDragDepth,
  lastCaptureDragOverAt, captureDragResetTimer,
  dropRootValid, inboxDropValid

Without them, Svelte runtime throws ReferenceError on first render
('captureDropActive is not defined'), leaving the WebView empty.

Verified with headless render smoke: .app + .sidebar mount,
sidebar shows system views + workspace, welcome screen renders.

Rebuild embedded frontend bundle.
This commit is contained in:
2026-06-15 17:46:10 +00:00
parent cd982f2f28
commit 2b3de296b9
4 changed files with 96 additions and 88 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -19,7 +19,7 @@
background: #13131f;
}
</style>
<script type="module" crossorigin src="/assets/main-QJp1UtIq.js"></script>
<script type="module" crossorigin src="/assets/main-C0D__Sxo.js"></script>
<link rel="stylesheet" crossorigin href="/assets/main-Bl-yCbt2.css">
</head>
<body>