Starrers view: fix search bar when a query did not match anything
This commit is contained in:
parent
c90fdfd8c6
commit
66032506b5
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
%span.flex-project-title
|
||||
= _("Starrers of <strong>%{project_name}</strong>").html_safe % { project_name: sanitize_project_name(@project.name) }
|
||||
%span.badge.badge-pill= @starrers.total_count
|
||||
- if @starrers.size > 0
|
||||
- if @starrers.size > 0 || params[:search].present?
|
||||
.nav-controls
|
||||
= form_tag request.original_url, method: :get, class: 'form-inline user-search-form flex-users-form' do
|
||||
.form-group
|
||||
|
|
Loading…
Reference in a new issue