diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-01-03 10:21:17 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-01-05 12:47:38 +0100 |
commit | 2c47f0924fc5534035905746046ab0f5e9c99f23 (patch) | |
tree | ae84f0949b3b5378e44ba0ba0bf661753e48de1a /app/assets/javascripts/groups | |
parent | b1e1990ee263bcae73f0e55526a55cff66103220 (diff) | |
download | gitlab-ce-2c47f0924fc5534035905746046ab0f5e9c99f23.tar.gz |
Add id to modal.vue to support data-toggle="modal"
Diffstat (limited to 'app/assets/javascripts/groups')
-rw-r--r-- | app/assets/javascripts/groups/components/item_actions.vue | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/assets/javascripts/groups/components/item_actions.vue b/app/assets/javascripts/groups/components/item_actions.vue index 58ba5aff7cf..b98cfcf7563 100644 --- a/app/assets/javascripts/groups/components/item_actions.vue +++ b/app/assets/javascripts/groups/components/item_actions.vue @@ -45,11 +45,9 @@ export default { onLeaveGroup() { this.modalStatus = true; }, - leaveGroup(leaveConfirmed) { + leaveGroup() { this.modalStatus = false; - if (leaveConfirmed) { - eventHub.$emit('leaveGroup', this.group, this.parentGroup); - } + eventHub.$emit('leaveGroup', this.group, this.parentGroup); }, }, }; |