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

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

14 lines
422 B
JavaScript
Raw Normal View History

import { action } from "@ember/object";
import AdminEmailIncomings from "admin/routes/admin-email-incomings";
import showModal from "discourse/lib/show-modal";
export default class AdminEmailRejectedRoute extends AdminEmailIncomings {
status = "rejected";
@action
showIncomingEmail(id) {
showModal("admin-incoming-email", { admin: true });
this.controllerFor("modals/admin-incoming-email").load(id);
}
}