Lint + ES6

This commit is contained in:
Liyas Thomas
2020-10-21 12:20:32 +05:30
parent 774853af7a
commit f49c2138de
25 changed files with 263 additions and 212 deletions

View File

@@ -35,9 +35,7 @@ export default {
},
methods: {
isFieldHighlighted({ field }) {
return !!this.highlightedFields.find(
(highlightedField) => highlightedField.name === field.name
)
return !!this.highlightedFields.find(({ name }) => name === field.name)
},
},
}