Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/releases/stores/modules/detail/state.js')
-rw-r--r--app/assets/javascripts/releases/stores/modules/detail/state.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/assets/javascripts/releases/stores/modules/detail/state.js b/app/assets/javascripts/releases/stores/modules/detail/state.js
index 6d0d102c719..966c1c00ef5 100644
--- a/app/assets/javascripts/releases/stores/modules/detail/state.js
+++ b/app/assets/javascripts/releases/stores/modules/detail/state.js
@@ -1,17 +1,17 @@
export default ({
projectId,
- tagName,
- releasesPagePath,
markdownDocsPath,
markdownPreviewPath,
updateReleaseApiDocsPath,
releaseAssetsDocsPath,
manageMilestonesPath,
newMilestonePath,
+
+ tagName = null,
+ releasesPagePath = null,
+ defaultBranch = null,
}) => ({
projectId,
- tagName,
- releasesPagePath,
markdownDocsPath,
markdownPreviewPath,
updateReleaseApiDocsPath,
@@ -19,6 +19,10 @@ export default ({
manageMilestonesPath,
newMilestonePath,
+ tagName,
+ releasesPagePath,
+ defaultBranch,
+
/** The Release object */
release: null,