mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
apply prettier on gigantic find and replace (#7604)
This commit is contained in:
@ -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()
|
||||
);
|
||||
|
Reference in New Issue
Block a user