app object module methods, search in connection list

This commit is contained in:
Jan Prochazka
2021-02-28 18:43:16 +01:00
parent c497c1ceca
commit 5dba5a6dfd
7 changed files with 45 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
export let component;
export let module;
export let data;
export let subItemsComponent;
export let expandOnClick;
@@ -13,7 +13,7 @@
}
</script>
<svelte:component this={component} {data} on:click={handleExpand} />
<svelte:component this={module.default} {data} on:click={handleExpand} />
{#if isExpanded && subItemsComponent}
<svelte:component this={subItemsComponent} {data} />