From b01b18647a55c87d34f887b1a9d169a2e9356998 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 13 Sep 2022 22:00:49 +0200 Subject: [PATCH] Bugfix: i broke hasCheckedOrSelected() --- dev/Stores/User/Messagelist.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/Stores/User/Messagelist.js b/dev/Stores/User/Messagelist.js index 20853065d..2f47258d0 100644 --- a/dev/Stores/User/Messagelist.js +++ b/dev/Stores/User/Messagelist.js @@ -129,10 +129,10 @@ MessagelistUserStore.hasChecked = koComputable( ).extend({ rateLimit: 0 }); MessagelistUserStore.hasCheckedOrSelected = koComputable(() => - !!(MessagelistUserStore.selectedMessage() - | MessagelistUserStore.focusedMessage() + !!MessagelistUserStore.selectedMessage() + | !!MessagelistUserStore.focusedMessage() // Issue: not all are observed? - | MessagelistUserStore.find(isChecked)) + | !!MessagelistUserStore.find(isChecked) ).extend({ rateLimit: 50 }); MessagelistUserStore.notifyNewMessages = (folder, newMessages) => {