summaryrefslogtreecommitdiff
path: root/app/views/dashboard
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-03-02 10:55:47 +0100
committerRémy Coutable <remy@rymai.me>2016-03-02 11:41:35 +0100
commita3f0a176ff7afcc048d482d691990748a4018251 (patch)
tree90219de9b2e4078a82ff905632e81addd313ee36 /app/views/dashboard
parentc71c5876cbb66890c87de063982d671299c9dc8e (diff)
downloadgitlab-ce-a3f0a176ff7afcc048d482d691990748a4018251.tar.gz
Don't show "Welcome to GitLab" when the search didn't return any projects
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/projects/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/projects/index.html.haml b/app/views/dashboard/projects/index.html.haml
index 53abf274bdb..4565e752c1f 100644
--- a/app/views/dashboard/projects/index.html.haml
+++ b/app/views/dashboard/projects/index.html.haml
@@ -10,7 +10,7 @@
- if @last_push
= render "events/event_last_push", event: @last_push
-- if @projects.any?
+- if @projects.any? || params[:filter_projects]
= render 'projects'
- else
= render "zero_authorized_projects"