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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
367 B
JavaScript
Raw Normal View History

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);
}
}
});