GitLab Version - CE Admin Dashboard [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Merged Zack Cuddy requested to merge 351161-version-check-ce-fix into master

What does this MR do and why?

typebug caused by !77521 (merged)
Fixes #351161 (closed)

This change fixes a bug with the newly updated GitLab Version Check. Currently we are only importing the new JavaScript code on ee/admin/dashboard when we should be importing it at the ce level so that all Admin Dashboards receive the code.

Code Import is moved from ee/admin/dashboard/index.js => /admin/index.js

Screenshots or screen recordings

Before After
Before Screen_Shot_2022-01-26_at_12.59.14_PM

How to set up and validate locally

  1. Visit the Admin Dashboard on CE GitLab
  2. refresh to propagate the Reactive Cache (should only need this once)
  3. Ensure Version Check badge appears on the Components Card of the Dashboard
  4. Repeat for EE GitLab

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #351161 (closed)