Merge pull request #16769 from itk-dev/feature/missing-id-banner-iteration

fix: banner id to iteration
This commit is contained in:
Tim Jaeryang Baek 2025-08-21 12:34:07 +04:00 committed by GitHub
commit 492bcf9d26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -283,7 +283,7 @@
{/if}
{#if showBanners}
{#each $banners.filter((b) => ![...JSON.parse(localStorage.getItem('dismissedBannerIds') ?? '[]'), ...closedBannerIds].includes(b.id)) as banner}
{#each $banners.filter((b) => ![...JSON.parse(localStorage.getItem('dismissedBannerIds') ?? '[]'), ...closedBannerIds].includes(b.id)) as banner (banner.id)}
<Banner
{banner}
on:dismiss={(e) => {