mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 11:44:11 +08:00
15 lines
358 B
Plaintext
15 lines
358 B
Plaintext
|
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('modals/admin-incoming-email');
|
||
|
this.controllerFor("modals/admin-incoming-email").load(id);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
});
|