summaryrefslogtreecommitdiff
path: root/app/views/projects/starrers
diff options
context:
space:
mode:
authorCamil Staps <info@camilstaps.nl>2019-02-01 21:20:06 +0100
committerCamil Staps <info@camilstaps.nl>2019-08-07 20:49:16 +0200
commit66032506b54dc4a9fcce99d2053a65cbaa02d2a2 (patch)
treec15a677a61c7c84c7bf2684f8ae16e6e4e0b854d /app/views/projects/starrers
parentc90fdfd8c6ec76551b3e7e9a781115bf024a6949 (diff)
downloadgitlab-ce-66032506b54dc4a9fcce99d2053a65cbaa02d2a2.tar.gz
Starrers view: fix search bar when a query did not match anything
Diffstat (limited to 'app/views/projects/starrers')
-rw-r--r--app/views/projects/starrers/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/starrers/index.html.haml b/app/views/projects/starrers/index.html.haml
index 94f12908209..5d5fb9d74b2 100644
--- a/app/views/projects/starrers/index.html.haml
+++ b/app/views/projects/starrers/index.html.haml
@@ -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