Set Dashboard endpoints outside of component
In monitoring_bundle.js we can call store.dispatch('monitoringDashboard/setEndpoints', endpoints), and then we do not need to pass them to dashboard.vue at all
The following discussion from gitlab-ce!29226 should be addressed:
-
@winh started a discussion: (+1 comment) This is not directly related to this merge request: I'm wondering why we pass the endpoints to the component only to put them in the store. Couldn't we do this in the page bundle directly?