summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/registry/explorer/stores
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-08 15:08:21 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-08 15:08:21 +0000
commit1bdb3fe3821fc3d222361d8b2e2ec2fea2915372 (patch)
treec2566a9cb9d3328bff5d816278112c97be4179fe /app/assets/javascripts/registry/explorer/stores
parent996d54a81d799e6a69098b1e397a4ee7ea6d200c (diff)
downloadgitlab-ce-1bdb3fe3821fc3d222361d8b2e2ec2fea2915372.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/registry/explorer/stores')
-rw-r--r--app/assets/javascripts/registry/explorer/stores/mutations.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/registry/explorer/stores/mutations.js b/app/assets/javascripts/registry/explorer/stores/mutations.js
index a2c6a11de20..6055efcbd46 100644
--- a/app/assets/javascripts/registry/explorer/stores/mutations.js
+++ b/app/assets/javascripts/registry/explorer/stores/mutations.js
@@ -5,6 +5,7 @@ export default {
[types.SET_INITIAL_STATE](state, config) {
state.config = {
...config,
+ expirationPolicy: config.expirationPolicy ? JSON.parse(config.expirationPolicy) : undefined,
isGroupPage: config.isGroupPage !== undefined,
};
},