Commit 8fca24bd authored by Alfredo Sumaran's avatar Alfredo Sumaran

Move eslint disable rule before line containing the offense

parent 9cce9e73
<script> <script>
/* eslint-disable no-alert */
import eventHub from '../event_hub'; import eventHub from '../event_hub';
export default { export default {
...@@ -32,6 +30,7 @@ export default { ...@@ -32,6 +30,7 @@ export default {
onLeaveGroup(e) { onLeaveGroup(e) {
e.preventDefault(); e.preventDefault();
// eslint-disable-next-line no-alert
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();
} }
......
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