Skip to content

Commit

Permalink
Fix actions_bar display when checkboxes disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Mulholland committed Oct 14, 2022
1 parent 958e0ce commit 78203cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/mailbox/src/Mailbox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1030,12 +1030,12 @@
<h1>{header}</h1>
</header>
{/if}
{#if _this.actions_bar.length}
{#if _this.show_thread_checkbox && _this.actions_bar.length}
<div
role="toolbar"
aria-label="Bulk actions"
aria-controls="mailboxlist">
{#if _this.show_thread_checkbox && _this.actions_bar.includes(MailboxActions.SELECTALL)}
{#if _this.actions_bar.includes(MailboxActions.SELECTALL)}
<div class="thread-checkbox">
{#each [areAllSelected ? "Deselect all" : "Select all"] as selectAllTitle}
<input
Expand Down

0 comments on commit 78203cb

Please sign in to comment.