discourse/app/assets/javascripts/admin/addon/routes/admin-email-logs/rejected.js
Alan Guo Xiang Tan 109212127a
FIX: Clicking on subject in admin email logs broken (#35030)
This was a regression introduced in
f0069a4fab where clicking on an email
log's subject link did not open a modal that displays the details of the
incoming email.

In this commit, the following changes were also made:

1. Make all `admin-email-logs/*` routes inherit from the same parent
route.
   Having two different parent routes doing the same thing was probably
   something that was missed in the refactor previously.
2025-10-01 10:04:27 +08:00

10 lines
300 B
JavaScript
Vendored

import { i18n } from "discourse-i18n";
import AdminEmailLogsRoute from "admin/routes/admin-email-logs";
export default class AdminEmailLogsRejectedRoute extends AdminEmailLogsRoute {
status = "rejected";
titleToken() {
return i18n("admin.config.email_logs.sub_pages.rejected.title");
}
}