discourse/app/assets/javascripts/admin/addon/routes/admin-email-rejected.js
2020-12-01 15:31:26 -03:00

14 lines
369 B
JavaScript

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