discourse/app/assets/javascripts/admin/addon/routes/admin-email-bounced.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
416 B
JavaScript
Raw Normal View History

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