verstak/cmd/verstak-gui/frontend-dist
mirivlad cd982f2f28 fix(frontend): restore trash preview state vars after FilesTab extraction
After 9878ab4 moved file-preview state into FilesTab, App.svelte still
references previewItem/previewContent/previewLoading/previewError in
two places that were not migrated:

- openTrashPreview() (trash file preview flow, ~line 1334)
- {#if previewItem} <FilePreviewModal ...> block (~line 3563)

Without these 'let' bindings, vite-plugin-svelte warned
'previewError is not defined' and the Svelte runtime threw a
ReferenceError on first render, leaving the WebView empty.

Restore the four 'let' declarations in App.svelte (kept here because
trash lives outside FilesTab) and rebuild the embedded frontend bundle.
2026-06-15 17:30:38 +00:00
..
assets fix(frontend): restore trash preview state vars after FilesTab extraction 2026-06-15 17:30:38 +00:00
Inter-Medium.ttf gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00
index.html fix(frontend): restore trash preview state vars after FilesTab extraction 2026-06-15 17:30:38 +00:00
svelte.svg gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00
wails.png gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00