fix: excess commonlist items
This commit is contained in:
1 file changed
+1
-1
@@ -137,7 +137,7 @@
|
|||||||
<ProgressBar progress={batch.progress} />
|
<ProgressBar progress={batch.progress} />
|
||||||
{/if}
|
{/if}
|
||||||
{#if data.items?.value && data.items?.value.length > 0}
|
{#if data.items?.value && data.items?.value.length > 0}
|
||||||
<CommonList items={data.items?.value} size="lg">
|
<CommonList size="lg">
|
||||||
{#each data.items.value ?? [] as item}
|
{#each data.items.value ?? [] as item}
|
||||||
<svelte:element
|
<svelte:element
|
||||||
this={item.length == 1 ? 'li' : 'div'}
|
this={item.length == 1 ? 'li' : 'div'}
|
||||||
|
|||||||
Reference in new issue
Block a user