From 801eb435728f22262500390d70b62289e5a6c641 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 16 Jan 2019 13:29:34 -0500 Subject: [PATCH] Prevent info entries from polluting logger output These entries are meant to be shown only when using "All" mode, not when the output is narrowed to a specific tab. --- src/js/logger-ui.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index 189fe53d5..712b56c66 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -1854,9 +1854,10 @@ const rowFilterer = (function() { if ( logEntry.dead || selectedTabId !== 0 && - logEntry.tabId !== undefined && - logEntry.tabId > 0 && - logEntry.tabId !== selectedTabId + ( + logEntry.tabId === undefined || + logEntry.tabId > 0 && logEntry.tabId !== selectedTabId + ) ) { return false; }