Pipelines table can show empty state displaying wrong message
problem
While opening an existing merge request with quite a few pipelines, it sometimes shows an empty state displaying a different message instead of the ordinary spinner. This doesn't happen always...
Proposal
just display the spinner, don't display the empty state when there certainly are pipelines.
- Display spinner while making the first request
- Display empty state only when no pipelines are returned and CI is not set up.
- Display message "No pipelines to show" if no pipelines are returned but CI is configured.
- Display error state when we receive an error