Fix catalog list issue when uploading

This commit is contained in:
ZXY101
2023-09-14 13:24:10 +02:00
parent ed6b8d8b39
commit 8cf0b363ca
4 changed files with 12 additions and 11 deletions

View File

@@ -14,7 +14,7 @@
{#if $catalog.length > 0}
<Button outline color="red" class="float-right" on:click={onClear}>Clear catalog</Button>
<div class="container">
{#each $catalog as { manga }}
{#each $catalog as { id, manga } (id)}
<CatalogItem {manga} />
{/each}
</div>
@@ -39,8 +39,4 @@
text-align: center;
padding: 20px;
}
a {
color: $secondary-accent-color;
}
</style>