Error from javascripts/prometheus_alerts/index.js on Integrations Settings pages

ee/app/assets/javascripts/prometheus_alerts/index.js

Problem 1:

All the forms from Settings > Integrations > Project Services have the same value for data-page attribute, so they all load the same JS (app/assets/javascripts/pages/projects/services/edit/index.js) even when it is not needed/relevant. We should have a different data-page value for each of them

Problem 2:

There is no null check in prometheus_alerts/index.js so it throws an error

Assignee Loading
Time tracking Loading