saved searches: always show 'Saved searches' link in navbar.

* Always display 'Saved searches' link in subnav bar, even if the user
  hasn't created any saved searches yet.
* Eliminate use of `has_saved_searches` bitpref on users.
This commit is contained in:
evazion
2019-09-22 23:14:55 -05:00
parent 4e4c4d627e
commit a5949a4b28
5 changed files with 3 additions and 35 deletions

View File

@@ -170,7 +170,7 @@
<% end %>
<% if CurrentUser.id == user.id %>
<% if CurrentUser.has_saved_searches? %>
<% if SavedSearch.labels_for(CurrentUser.user.id).present? %>
<tr>
<th>Saved Searches</th>
<td>