2023-03-15 09:17:51 -04:00
|
|
|
import { action } from "@ember/object";
|
2016-05-02 17:15:32 -04:00
|
|
|
import AdminEmailLogs from "admin/routes/admin-email-logs";
|
2017-02-22 12:51:33 -05:00
|
|
|
import showModal from "discourse/lib/show-modal";
|
|
|
|
|
2023-03-15 09:17:51 -04:00
|
|
|
export default class AdminEmailBouncedRoute extends AdminEmailLogs {
|
|
|
|
status = "bounced";
|
2017-02-22 12:51:33 -05:00
|
|
|
|
2023-03-15 09:17:51 -04:00
|
|
|
@action
|
|
|
|
showIncomingEmail(id) {
|
|
|
|
showModal("admin-incoming-email", { admin: true });
|
|
|
|
this.controllerFor("modals/admin-incoming-email").loadFromBounced(id);
|
|
|
|
}
|
|
|
|
}
|