Skip to content

Commit

Permalink
filter out undefined selected
Browse files Browse the repository at this point in the history
  • Loading branch information
ticruz38 committed Nov 26, 2024
1 parent a4740f8 commit c04ad6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/views/Publishes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@
{:else if activeTab === "connections"}
<PublishesConnections bind:selected bind:activeTab />
{:else if activeTab === "notices"}
<PublishesNotices selected={[selected]} />
<PublishesNotices selected={[selected].filter(Boolean)} />
{/if}

0 comments on commit c04ad6e

Please sign in to comment.