Skip to content

Update Release Edit and Detail pages to pass initial state to Vuex store creation functions

What does this MR do?

Updates the Vuex store used by the Edit Release and Release Detail pages to set its initial state by allowing it to be passed to the store creation function.

Previously, this state was set using a setInitialState action, which was manually dispatched in the Vue app's initialization script. This action and associated mutations/types/specs have been removed.

This MR serves as a reference implementation for this frontend RFC: gitlab-org/frontend/rfcs#56 (closed)

Merge request reports