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 { ...@@ -33,7 +33,14 @@ export default {
mixins: [glFeatureFlagsMixin()], mixins: [glFeatureFlagsMixin()],
computed: { computed: {
...mapGetters(['currentKey', 'propsSource', 'isDisabled']), ...mapGetters(['currentKey', 'propsSource', 'isDisabled']),
...mapState(['defaultState', 'override', 'isSaving', 'isTesting', 'isResetting']), ...mapState([
'defaultState',
'customState',
'override',
'isSaving',
'isTesting',
'isResetting',
]),
isEditable() { isEditable() {
return this.propsSource.editable; return this.propsSource.editable;
}, },
...@@ -42,8 +49,8 @@ export default { ...@@ -42,8 +49,8 @@ export default {
}, },
isInstanceOrGroupLevel() { isInstanceOrGroupLevel() {
return ( return (
this.propsSource.integrationLevel === integrationLevels.INSTANCE || this.customState.integrationLevel === integrationLevels.INSTANCE ||
this.propsSource.integrationLevel === integrationLevels.GROUP this.customState.integrationLevel === integrationLevels.GROUP
); );
}, },
showJiraIssuesFields() { 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