Commit 850c5212 authored by Robert Knight's avatar Robert Knight

Always show tabs when new search filter UI is active

This makes the UI more consistent across filter active/inactive states and
removes the need to show a total number of annotations in the search result
summary, since that continues to be visible on the tabs when a filter is active.
parent 1bf6e8f9
......@@ -69,7 +69,8 @@ function SidebarView({
const searchPanelEnabled = store.isFeatureEnabled('search_panel');
const showFilterStatus = !hasContentError && !searchPanelEnabled;
const showTabs = !hasContentError && !hasAppliedFilter;
const showTabs =
!hasContentError && (searchPanelEnabled || !hasAppliedFilter);
// Show a CTA to log in if successfully viewing a direct-linked annotation
// and not logged in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment