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 20, 2022
1 parent 958e0ce commit ed476d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased

- Fix actions_bar display when checkboxes disabled [Pull Request](https://github.com/nylas/components/pull/463)

# 2021-11-29

## 1.1.1
Expand Down
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 ed476d7

Please sign in to comment.