diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-31 16:04:54 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-31 16:04:54 -0500 |
commit | 720f09f341f2cf3b3b47c6527fcc0746abad7325 (patch) | |
tree | a0e4dff5170e2d5d4e02f24c33a44765ca3384f8 /app | |
parent | 0d3b7f4681ab0335b7ae7846c9ba6b0cb7caf564 (diff) | |
download | gitlab-ce-720f09f341f2cf3b3b47c6527fcc0746abad7325.tar.gz |
Remove unnecesary return statements
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/groups/components/group_item.vue | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/assets/javascripts/groups/components/group_item.vue b/app/assets/javascripts/groups/components/group_item.vue index 20391595178..64800a6ae10 100644 --- a/app/assets/javascripts/groups/components/group_item.vue +++ b/app/assets/javascripts/groups/components/group_item.vue @@ -25,8 +25,6 @@ export default { window.location.href = this.group.webUrl; } } - - return false; }, onLeaveGroup(e) { e.preventDefault(); @@ -35,8 +33,6 @@ export default { if (confirm(`Are you sure you want to leave the "${this.group.fullName}" group?`)) { this.leaveGroup(); } - - return false; }, leaveGroup() { eventHub.$emit('leaveGroup', this.group.leavePath); |