summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/releases/stores/modules
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-10 21:08:51 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-10 21:08:51 +0000
commit13bcb8221306526671a61df589f7c05505c9934c (patch)
treebaa61780ec5f526ea180c209af8f4d75a5cb4425 /app/assets/javascripts/releases/stores/modules
parent206b03aeae3a368983ac3d6ad5e5828030bbaacd (diff)
downloadgitlab-ce-13bcb8221306526671a61df589f7c05505c9934c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/releases/stores/modules')
-rw-r--r--app/assets/javascripts/releases/stores/modules/detail/state.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/releases/stores/modules/detail/state.js b/app/assets/javascripts/releases/stores/modules/detail/state.js
index 782a5c46d6c..e22d06f8daa 100644
--- a/app/assets/javascripts/releases/stores/modules/detail/state.js
+++ b/app/assets/javascripts/releases/stores/modules/detail/state.js
@@ -1,5 +1,7 @@
export default ({
projectId,
+ groupId,
+ groupMilestonesAvailable = false,
projectPath,
markdownDocsPath,
markdownPreviewPath,
@@ -13,6 +15,8 @@ export default ({
defaultBranch = null,
}) => ({
projectId,
+ groupId,
+ groupMilestonesAvailable: Boolean(groupMilestonesAvailable),
projectPath,
markdownDocsPath,
markdownPreviewPath,