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
364 B
JavaScript
Raw Normal View History

2016-05-03 05:15:32 +08:00
import AdminEmailLogs from "admin/routes/admin-email-logs";
import showModal from "discourse/lib/show-modal";
export default AdminEmailLogs.extend({
status: "bounced",
actions: {
showIncomingEmail(id) {
showModal("admin-incoming-email", { admin: true });
this.controllerFor("modals/admin-incoming-email").loadFromBounced(id);
},
},
});