Fix new eslint rules

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-12-28 12:52:21 +01:00
parent 44a88069db
commit e22fbb7277
15 changed files with 21 additions and 20 deletions

View File

@@ -53,7 +53,7 @@ export default {
if (state.comments[cardId] === undefined) {
Vue.set(state.comments, cardId, {
hasMore: comments.length > 0,
comments: [ ...comments ],
comments: [...comments],
})
} else {
const newComments = comments.filter((comment) => {