Fix UI error whereby prometheus application status is updated

What does this MR do?

Fix UI error whereby prometheus application status is updated

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

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/47154

Merge request reports

Loading