diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-22 21:08:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-22 21:08:47 +0300 |
commit | 3832718d895bf8268f3e3aac85948e2792769345 (patch) | |
tree | 4a322399af568b6203e732ae2e2f3efc39b23a67 /app/assets/javascripts/self_monitor/store/state.js | |
parent | 180cd023a11c0eb413ad0de124d9758ea25672bd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/self_monitor/store/state.js')
-rw-r--r-- | app/assets/javascripts/self_monitor/store/state.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/self_monitor/store/state.js b/app/assets/javascripts/self_monitor/store/state.js index b8b4a4af614..a0ce88ff58c 100644 --- a/app/assets/javascripts/self_monitor/store/state.js +++ b/app/assets/javascripts/self_monitor/store/state.js @@ -1,8 +1,8 @@ import { parseBoolean } from '~/lib/utils/common_utils'; export default (initialState = {}) => ({ - projectEnabled: parseBoolean(initialState.projectEnabled) || false, - projectCreated: parseBoolean(initialState.selfMonitorProjectCreated) || false, + projectEnabled: parseBoolean(initialState.selfMonitoringProjectExists) || false, + projectCreated: parseBoolean(initialState.selfMonitoringProjectExists) || false, createProjectEndpoint: initialState.createSelfMonitoringProjectPath || '', deleteProjectEndpoint: initialState.deleteSelfMonitoringProjectPath || '', createProjectStatusEndpoint: initialState.statusCreateSelfMonitoringProjectPath || '', |