discourse/app/assets/javascripts/admin/routes/admin-flags-posts-active.js...

6 lines
129 B
JavaScript

export default Discourse.Route.extend({
model() {
return this.store.findAll("flagged-post", { filter: "active" });
}
});