Dashboard project list div gets rendered twice if list is empty

Summary

While writing an end-to-end test I noticed that the 'js-projects-list-holder' div on the dashboard projects page gets rendered twice if the list is empty.

Steps to reproduce

  • Go to Dashboard projects view
  • Search for a non-existent project (to get empty list)
  • In page inspector you'll see that 'js-projects-list-holder' div gets rendered twice, one inside of the other

What is the current bug behavior?

div gets rendered twice

What is the expected correct behavior?

div should get rendered once

Output of checks

This happens on Gitlab.com

Assignee Loading
Time tracking Loading