Skip to content

Hide zero counters on header

username-removed-444 requested to merge dz-hide-zero-counter into master

What does this MR do?

Does not show counter if there is no issues, mrs or todos for you

Are there points in the code the reviewer needs to double check?

no

Why was this MR needed?

To avoid distraction by colored counters on header when here is nothing assigned to you.

Screenshots (if relevant)

For example there are no todos for you so no counter visible

Screenshot_2017-04-06_21.19.43

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/30449

Merge request reports