diff --git a/app/components/exhibit_navbar_component.html.erb b/app/components/exhibit_navbar_component.html.erb index d87257bb6..eec6a6138 100644 --- a/app/components/exhibit_navbar_component.html.erb +++ b/app/components/exhibit_navbar_component.html.erb @@ -1,13 +1,11 @@ diff --git a/app/components/exhibit_navbar_component.rb b/app/components/exhibit_navbar_component.rb index 8693501c7..fcfe774d2 100644 --- a/app/components/exhibit_navbar_component.rb +++ b/app/components/exhibit_navbar_component.rb @@ -2,4 +2,7 @@ # Overrides Spotlight ExhibitNavbarComponent and provides Search Tips link class ExhibitNavbarComponent < Spotlight::ExhibitNavbarComponent + def render? + helpers.should_render_spotlight_search_bar? + end end