{#if $notifications.length && Object.values( $notifications ).filter( notification => renderNotification( notification ) ).length}
{#each $notifications as notification (notification.render_key)} {#if renderNotification( notification )} {#if notification.message}

{@html notification.message}

{/if}
{/if} {/each}
{/if}