A platform for community discussion. Free, open, simple.
DEV: Fix failing test with watched words
Blake Erickson83a521e8c6b5
diff --git a/app/assets/javascripts/admin/components/admin-watched-word.js.es6 b/app/assets/javascripts/admin/components/admin-watched-word.js.es6index 8e81ee36765..d4f5108c0fd 100644--- a/app/assets/javascripts/admin/components/admin-watched-word.js.es6+++ b/app/assets/javascripts/admin/components/admin-watched-word.js.es6@@ -1,6 +1,5 @@import Component from "@ember/component";import { iconHTML } from "discourse-common/lib/icon-library";-import { escapeExpression } from "discourse/lib/utilities";export default Component.extend({classNames: ["watched-word"],@@ -9,7 +8,7 @@ export default Component.extend({init() {this._super(...arguments);- this.set("watchedWord", `${escapeExpression(this.get("word.word"))}`);+ this.set("watchedWord", this.get("word.word"));},click() {