discourse/app/assets/javascripts/admin/routes/admin-email-rejected.js

Failed to ignore revisions in .git-blame-ignore-revs.

14 lines
367 B
JavaScript
Raw Normal View History

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