apply prettier on gigantic find and replace (#7604)

This commit is contained in:
Joffrey JAFFEUX
2019-05-27 10:42:53 +02:00
committed by GitHub
parent 373b8a2139
commit d93f753b17
74 changed files with 336 additions and 1024 deletions

View File

@ -29,9 +29,7 @@ export default Ember.Component.extend({
@computed("word")
isUniqueWord(word) {
const words = this.filteredContent || [];
const filtered = words.filter(
content => content.action === this.actionKey
);
const filtered = words.filter(content => content.action === this.actionKey);
return filtered.every(
content => content.word.toLowerCase() !== word.toLowerCase()
);