Package updates round 3ish. Other minor code clean up.

This commit is contained in:
Scott Idem
2025-03-04 17:31:40 -05:00
parent 3719739b57
commit 643edbd50a
7 changed files with 29 additions and 36 deletions

View File

@@ -20,8 +20,8 @@ import { db_core } from "$lib/ae_core/db_core";
export let container_class_li: string|Array<string> = [];
export let link_to_type: string;
export let link_to_id: string;
export let allow_basic: boolean = false;
export let allow_moderator: boolean = false;
export let allow_basic: boolean = false; // Not used yet
export let allow_moderator: boolean = false; // Not used yet
export let display_mode: string = 'default'; // 'default', 'compact', 'minimal', 'launcher'
console.log(`HERE HERE HERE HERE: link_to_type: ${link_to_type} link_to_id: ${link_to_id}`);
@@ -73,16 +73,17 @@ $: lq__hosted_file_obj_li = liveQuery(async () => {
<p>No files found</p>
{/if} -->
{#if lq__hosted_file_obj_li}
<Element_manage_hosted_file_li
link_to_type={link_to_type}
link_to_id={link_to_id}
lq__hosted_file_obj_li={lq__hosted_file_obj_li}
allow_basic={allow_basic}
allow_moderator={allow_moderator}
container_class_li={container_class_li}
display_mode={display_mode}
/>
<!-- allow_basic={allow_basic} -->
<!-- allow_moderator={allow_moderator} -->
{:else}
<p>No files found</p>
{/if}