summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-03-01 16:54:13 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-03-03 16:37:28 +0200
commit14873c837b1baefe90df8cf38e117c8336f66040 (patch)
tree5d9b5be2bb6c2ceb80a06e639f8dc13c60924497
parented1f110499d8e2aa011e17f1ad8a038e209842fb (diff)
downloadgitlab-ce-14873c837b1baefe90df8cf38e117c8336f66040.tar.gz
Fixed incorrect empty state showing
-rw-r--r--app/views/dashboard/projects/index.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/projects/index.html.haml b/app/views/dashboard/projects/index.html.haml
index f0adbad8412..4b095f52643 100644
--- a/app/views/dashboard/projects/index.html.haml
+++ b/app/views/dashboard/projects/index.html.haml
@@ -6,13 +6,13 @@
.user-callout{ 'callout-svg' => custom_icon('icon_customization') }
-- if @projects.any? || params[:filter_projects]
+- if @projects.any? || params[:name]
= render 'dashboard/projects_head'
- if @last_push
= render "events/event_last_push", event: @last_push
-- if @projects.any? || params[:filter_projects]
+- if @projects.any? || params[:name]
= render 'projects'
- else
= render "zero_authorized_projects"