mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com> Co-Authored-By: David Taylor <david@taylorhq.com>
This commit is contained in:
co-authored by
Bianca Nenciu
David Taylor
parent
7896c74c2b
commit
f9648de897
@@ -21,7 +21,7 @@ const WatchedWord = Discourse.Model.extend({
|
||||
|
||||
WatchedWord.reopenClass({
|
||||
findAll() {
|
||||
return ajax("/admin/logs/watched_words").then(list => {
|
||||
return ajax("/admin/logs/watched_words.json").then(list => {
|
||||
const actions = {};
|
||||
list.words.forEach(s => {
|
||||
if (!actions[s.action]) {
|
||||
|
||||
Reference in New Issue
Block a user