fix broken link for admin user in flags
This commit is contained in:
parent
274d8cbc0b
commit
87e9e9d437
|
@ -104,7 +104,7 @@ Discourse.FlaggedPost.reopenClass({
|
||||||
Discourse.ajax('/admin/flags/' + filter + '.json').then(function(data) {
|
Discourse.ajax('/admin/flags/' + filter + '.json').then(function(data) {
|
||||||
var userLookup = {};
|
var userLookup = {};
|
||||||
_.each(data.users,function(user) {
|
_.each(data.users,function(user) {
|
||||||
userLookup[user.id] = Discourse.User.create(user);
|
userLookup[user.id] = Discourse.AdminUser.create(user);
|
||||||
});
|
});
|
||||||
_.each(data.posts,function(post) {
|
_.each(data.posts,function(post) {
|
||||||
var f = Discourse.FlaggedPost.create(post);
|
var f = Discourse.FlaggedPost.create(post);
|
||||||
|
|
Loading…
Reference in New Issue