Docker Update and Fixes

This commit is contained in:
2026-01-25 17:36:15 +00:00
parent b7b718d4ca
commit 295be1ed8e
21 changed files with 886 additions and 289 deletions

View File

@@ -32,7 +32,14 @@
function handleScanComplete(item: any) {
recentItems = [item, ...recentItems];
// Don't close camera here - let user view the result sheet first
// Camera will close when user clicks close button
}
function handleCameraClose() {
isCameraActive = false;
// Dispatch event to notify MobileHomePage to refresh
window.dispatchEvent(new CustomEvent('scan-complete'));
}
onMount(() => {
@@ -147,7 +154,7 @@
{#if isCameraActive}
<CameraScreen
onClose={() => (isCameraActive = false)}
onClose={handleCameraClose}
onScanComplete={handleScanComplete}
/>
{/if}