mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-27 20:52:53 +08:00
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.
10 lines
300 B
JavaScript
Vendored
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");
|
|
}
|
|
}
|