Commit 720f09f3 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Remove unnecesary return statements

parent 0d3b7f46
...@@ -25,8 +25,6 @@ export default { ...@@ -25,8 +25,6 @@ export default {
window.location.href = this.group.webUrl; window.location.href = this.group.webUrl;
} }
} }
return false;
}, },
onLeaveGroup(e) { onLeaveGroup(e) {
e.preventDefault(); e.preventDefault();
...@@ -35,8 +33,6 @@ export default { ...@@ -35,8 +33,6 @@ export default {
if (confirm(`Are you sure you want to leave the "${this.group.fullName}" group?`)) { if (confirm(`Are you sure you want to leave the "${this.group.fullName}" group?`)) {
this.leaveGroup(); this.leaveGroup();
} }
return false;
}, },
leaveGroup() { leaveGroup() {
eventHub.$emit('leaveGroup', this.group.leavePath); eventHub.$emit('leaveGroup', this.group.leavePath);
......
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