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

import showModal from "discourse/lib/show-modal";
2016-05-02 17:15:32 -04: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);
},
},
});