discourse/app/assets/javascripts/admin/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

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