- Updated 'handle_open_file' in launcher_file_cont.svelte to correctly pass filename to API. - Fixed WebSocket ae_download command in launcher layout to include filename. - Implemented a safety net in api_get_object.ts to extract filename from params if missing. - Added 'download' attribute to Hosted Files download button for direct links. - Refactored launcher menu components to use Svelte 5 global 'page' state instead of obsolete 'data_url' prop.
22 lines
612 B
Svelte
22 lines
612 B
Svelte
<script lang="ts">
|
|
/**
|
|
* events/[event_id]/(launcher)/+layout.svelte
|
|
* Root layout for the launcher area.
|
|
* Ensures background sync runs globally regardless of active tab.
|
|
*/
|
|
// import { ae_loc } from '$lib/stores/ae_stores';
|
|
import Launcher_Background_Sync from './launcher_background_sync.svelte';
|
|
|
|
interface Props {
|
|
children?: import('svelte').Snippet;
|
|
}
|
|
|
|
let { children }: Props = $props();
|
|
</script>
|
|
|
|
<!-- Background Sync Process (Invisible) -->
|
|
<Launcher_Background_Sync log_lvl={1} />
|
|
|
|
<!-- Render the rest of the launcher UI -->
|
|
{@render children?.()}
|