mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 00:52:52 +08:00
This is a lift-and-shift of the admin e-mail logs, moving it out of the "Server setup & logs" page and into its own dedicated admin page.
15 lines
372 B
JavaScript
Vendored
15 lines
372 B
JavaScript
Vendored
import DiscourseRoute from "discourse/routes/discourse";
|
|
import { i18n } from "discourse-i18n";
|
|
|
|
export default class AdminEmailLogsRoute extends DiscourseRoute {
|
|
titleToken() {
|
|
return i18n("admin.config.email_logs.title");
|
|
}
|
|
|
|
setupController(controller) {
|
|
controller.setProperties({
|
|
loading: true,
|
|
filter: { status: this.status },
|
|
});
|
|
}
|
|
}
|