Commit 57ccfb9a authored by Fatih Acet's avatar Fatih Acet

Fix some ESLint errors.

parent 16a5808e
......@@ -16,7 +16,7 @@ export default {
return {
registerLink: '#',
signInLink: '#',
}
};
},
computed: {
discussion() {
......@@ -43,7 +43,7 @@ export default {
this.signInLink = signInLink.getAttribute('href');
}
},
}
};
</script>
<template>
......
......@@ -24,7 +24,7 @@ export default {
components: {
TimeAgoTooltip,
},
}
};
</script>
<template>
......
......@@ -27,7 +27,7 @@ export default {
discussionId: {
type: String,
required: false,
}
},
},
components: {
TimeAgoTooltip,
......
......@@ -26,7 +26,7 @@ export default {
},
componentData(note) {
return note.individual_note ? note.notes[0] : note;
}
},
},
mounted() {
const path = this.$el.parentNode.dataset.discussionsPath;
......
......@@ -18,7 +18,7 @@ const mutations = {
storeState.notes = notes;
},
toggleDiscussion(storeState, { discussionId }) {
const [ discussion ] = storeState.notes.filter((note) => note.id === discussionId);
const [discussion] = storeState.notes.filter(note => note.id === discussionId);
discussion.expanded = !discussion.expanded;
},
......
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