Commit 63f2617f authored by Alexander Turinske's avatar Alexander Turinske

Fix policy_editor environment picker

- in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67419
  a Vuex action was changed and an instance of it was missed
  in updating

Changelog: fixed
EE: true
parent f98b5fad
......@@ -25,9 +25,7 @@ export default () => {
} = el.dataset;
const store = createStore();
store.dispatch('threatMonitoring/setEndpoints', {
environmentsEndpoint,
});
store.dispatch('threatMonitoring/setEnvironmentEndpoint', environmentsEndpoint);
store.dispatch('networkPolicies/setEndpoints', {
networkPoliciesEndpoint,
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment