mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 05:23:49 +08:00
48193767bf
Automatically generated by `eslint --fix` to satisfy the updated configuration
17 lines
554 B
JavaScript
17 lines
554 B
JavaScript
import { action } from "@ember/object";
|
|
import { inject as service } from "@ember/service";
|
|
import IncomingEmail from "admin/models/incoming-email";
|
|
import AdminEmailIncomings from "admin/routes/admin-email-incomings";
|
|
import IncomingEmailModal from "../components/modal/incoming-email";
|
|
|
|
export default class AdminEmailRejectedRoute extends AdminEmailIncomings {
|
|
@service modal;
|
|
status = "rejected";
|
|
|
|
@action
|
|
async showIncomingEmail(id) {
|
|
const model = await IncomingEmail.find(id);
|
|
this.modal.show(IncomingEmailModal, { model });
|
|
}
|
|
}
|