From ed476d7287386fec0b284746d5cf41a2b89e5285 Mon Sep 17 00:00:00 2001 From: Brendan Mulholland Date: Mon, 25 Jul 2022 15:58:56 +0200 Subject: [PATCH] Fix actions_bar display when checkboxes disabled --- CHANGELOG.md | 4 ++++ components/mailbox/src/Mailbox.svelte | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d25bce7a..6051a0d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/components/mailbox/src/Mailbox.svelte b/components/mailbox/src/Mailbox.svelte index 87ecc552..2534c44b 100644 --- a/components/mailbox/src/Mailbox.svelte +++ b/components/mailbox/src/Mailbox.svelte @@ -1030,12 +1030,12 @@

{header}

{/if} - {#if _this.actions_bar.length} + {#if _this.show_thread_checkbox && _this.actions_bar.length}
- {#if _this.show_thread_checkbox && _this.actions_bar.includes(MailboxActions.SELECTALL)} + {#if _this.actions_bar.includes(MailboxActions.SELECTALL)}
{#each [areAllSelected ? "Deselect all" : "Select all"] as selectAllTitle}