discourse/app/assets/javascripts/admin/routes/admin-email-rejected.js.es6
2016-11-16 16:41:15 -05:00

15 lines
368 B
JavaScript

import showModal from 'discourse/lib/show-modal';
import AdminEmailIncomings from 'admin/routes/admin-email-incomings';
export default AdminEmailIncomings.extend({
status: "rejected",
actions: {
showIncomingEmail(id) {
showModal('admin-incoming-email', { admin: true });
this.controllerFor("modals/admin-incoming-email").load(id);
}
}
});