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

8 lines
218 B
JavaScript

import DiscourseRoute from "discourse/routes/discourse";
export default class AdminFlagsPostsActiveRoute extends DiscourseRoute {
model() {
return this.store.findAll("flagged-post", { filter: "active" });
}
}