diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-08-30 14:20:31 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2016-08-31 10:27:04 -0500 |
commit | 632899826bbb4d50f8c003b2c1771fa17d89d022 (patch) | |
tree | 7a433055f3bfd8b751996c33ea0cf9a8d5269522 /app/views/dashboard | |
parent | 51087cfa1a6b0bb5a7abf35081ed3b669253eb4f (diff) | |
download | gitlab-ce-632899826bbb4d50f8c003b2c1771fa17d89d022.tar.gz |
Fix bug where pagination is still displayed despite all todos marked as done
Diffstat (limited to 'app/views/dashboard')
-rw-r--r-- | app/views/dashboard/todos/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/todos/index.html.haml b/app/views/dashboard/todos/index.html.haml index d320d3bcc1e..6bcc37042ea 100644 --- a/app/views/dashboard/todos/index.html.haml +++ b/app/views/dashboard/todos/index.html.haml @@ -66,7 +66,7 @@ - if @todos.any? .js-todos-options{ data: {per_page: @todos.limit_value, current_page: @todos.current_page, total_pages: @todos.total_pages} } - @todos.group_by(&:project).each do |group| - .panel.panel-default.panel-small.js-todos-list + .panel.panel-default.panel-small - project = group[0] .panel-heading = link_to project.name_with_namespace, namespace_project_path(project.namespace, project) |