diff --git a/app/views/apps/index.html.haml b/app/views/apps/index.html.haml index 4a4afa2..f55afa8 100644 --- a/app/views/apps/index.html.haml +++ b/app/views/apps/index.html.haml @@ -20,7 +20,7 @@ n/a %td.count - if app.problems.count > 0 - - unresolved = @unresolved_counts[app.id] + - unresolved = @unresolved_counts[app.id] || app.problems.unresolved.count = link_to unresolved, app_path(app), :class => (unresolved == 0 ? "resolved" : nil) - else \- -- libgit2 0.21.2