Skip to content

Commit

Permalink
fix: Restore Search Bar in Producers Platform (openfoodfacts#8532)
Browse files Browse the repository at this point in the history
restore-search-bar
  • Loading branch information
MonalikaPatnaik committed Jun 8, 2023
1 parent 767e823 commit 9e65e91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/web/common/site_layout.tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@
</li>
</ul>

[%# Don't show the search bar on the producers platform %]
[% IF !(server_options_producers_platform) %]
[%# Show the search bar on the producers platform only when the producer is logged in %]
[% IF !(server_options_producers_platform) || (user_id.defined) %]
<section class="top-bar-section">

<ul class="left small-4" style="margin-right:2rem;">
Expand Down

0 comments on commit 9e65e91

Please sign in to comment.