mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-27 05:21:05 +08:00
Started off attempting to fix filters, but was frustrated working with the old patterns and template duplication so I've updated everything and tried to consolidate into a `email-logs-list.gjs` component. The primary issue was that the filters only worked once, and if you needed to change them or remove them... you couldn't and had to refresh the page. Before: https://github.com/user-attachments/assets/9cfa0328-41d4-4178-ab87-ba2ff495d932 After: https://github.com/user-attachments/assets/febcff8f-3dfa-4b86-9be1-f333e6502648
12 lines
316 B
JavaScript
Vendored
12 lines
316 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.set("status", this.status);
|
|
}
|
|
}
|