mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 06:33:44 +08:00
15 lines
368 B
JavaScript
15 lines
368 B
JavaScript
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);
|
|
}
|
|
}
|
|
|
|
});
|