From a97c4708e804db7a08a74c249a16c168a87dff23 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 8 May 2023 10:48:40 -0700 Subject: [PATCH] message_list: Fix incorrect fetch_status check. Fixes a typo introduced in 2084a91af9ca7c71b4dd020fb973292d92884324. --- web/src/message_list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/message_list.js b/web/src/message_list.js index 87be531d25..0617da3129 100644 --- a/web/src/message_list.js +++ b/web/src/message_list.js @@ -443,8 +443,8 @@ export class MessageList { if (this.narrowed) { if ( this.visibly_empty() && - this.data.has_found_oldest() && - this.data.has_found_newest() + this.data.fetch_status.has_found_oldest() && + this.data.fetch_status.has_found_newest() ) { // Show the empty narrow message only if we're certain // that the view doesn't have messages that we're