Commit 25e2d584 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'justin_ho-fix-confirmation-modal-showing-on-project-integrations' into 'master'

[RUN-AS-IF-FOSS]Fix confirmation modal showing on project

See merge request gitlab-org/gitlab!48720
parents 993a83a6 14357e0c
......@@ -33,7 +33,14 @@ export default {
mixins: [glFeatureFlagsMixin()],
computed: {
...mapGetters(['currentKey', 'propsSource', 'isDisabled']),
...mapState(['defaultState', 'override', 'isSaving', 'isTesting', 'isResetting']),
...mapState([
'defaultState',
'customState',
'override',
'isSaving',
'isTesting',
'isResetting',
]),
isEditable() {
return this.propsSource.editable;
},
......@@ -42,8 +49,8 @@ export default {
},
isInstanceOrGroupLevel() {
return (
this.propsSource.integrationLevel === integrationLevels.INSTANCE ||
this.propsSource.integrationLevel === integrationLevels.GROUP
this.customState.integrationLevel === integrationLevels.INSTANCE ||
this.customState.integrationLevel === integrationLevels.GROUP
);
},
showJiraIssuesFields() {
......
---
title: Fix confirmation modal showing on project integration
merge_request: 48720
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment