summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/groups
diff options
context:
space:
mode:
authorShah El-Rahman <selrahman@gitlab.com>2018-02-06 21:05:54 -0600
committerShah El-Rahman <selrahman@gitlab.com>2018-02-07 19:28:18 -0600
commit97f08c651e0c95e33dee4a529ff80472e7d3bbe4 (patch)
treeddd00533a9879daca6a9ed7e449a47e99fb8cfef /app/assets/javascripts/groups
parentd2a2f22fe6b2e93630b32bc699d091720b01b6d3 (diff)
downloadgitlab-ce-97f08c651e0c95e33dee4a529ff80472e7d3bbe4.tar.gz
Add modal for stopping and retrying pipelines41297-new-design-for-cancel-stop-pipeline-confirmation
Fix tests Address code review feedback Fix tests
Diffstat (limited to 'app/assets/javascripts/groups')
-rw-r--r--app/assets/javascripts/groups/components/app.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/groups/components/app.vue b/app/assets/javascripts/groups/components/app.vue
index e035ba462db..b8f0566f48c 100644
--- a/app/assets/javascripts/groups/components/app.vue
+++ b/app/assets/javascripts/groups/components/app.vue
@@ -152,14 +152,14 @@ export default {
showLeaveGroupModal(group, parentGroup) {
this.targetGroup = group;
this.targetParentGroup = parentGroup;
- this.showModal = true;
+ this.updateModal = true;
this.groupLeaveConfirmationMessage = s__(`GroupsTree|Are you sure you want to leave the "${group.fullName}" group?`);
},
hideLeaveGroupModal() {
- this.showModal = false;
+ this.updateModal = false;
},
leaveGroup() {
- this.showModal = false;
+ this.updateModal = false;
this.targetGroup.isBeingRemoved = true;
this.service.leaveGroup(this.targetGroup.leavePath)
.then(res => res.json())