Hide beta features banner for non-self-hosted instances

What does this MR do?

Fixes the beta features banner visibility issue where the self-hosted beta features banner was incorrectly showing on all instances, including GitLab.com (Duo Pro/Core users).

Problem

The banner "More features are available in beta. You can turn on AI-native beta features." was appearing on non-self-hosted instances where it's not applicable.

Solution

Added conditional rendering in feature_settings.vue using window.gon.dot_com to check instance type:

isSelfHosted() {
  return !window.gon?.dot_com;
}

cc @julie_huang

Closes #583418

Merge request reports

Loading