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

14 lines
362 B
Plaintext
Raw Normal View History

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