discourse/app/assets/javascripts/admin/routes/admin-email-bounced.js.es6
2017-02-22 14:51:33 -03:00

15 lines
363 B
JavaScript

import showModal from 'discourse/lib/show-modal';
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);
}
}
});