mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 04:52:52 +08:00
3083657358
FEATURE: new incoming_email model FEATURE: infinite scrolling in emails admin FEATURE: new 'emails:import' rake task
10 lines
403 B
JavaScript
10 lines
403 B
JavaScript
import AdminEmailLogsController from 'admin/controllers/admin-email-logs';
|
|
import debounce from 'discourse/lib/debounce';
|
|
import EmailLog from 'admin/models/email-log';
|
|
|
|
export default AdminEmailLogsController.extend({
|
|
filterEmailLogs: debounce(function() {
|
|
EmailLog.findAll(this.get("filter")).then(logs => this.set("model", logs));
|
|
}, 250).observes("filter.{user,address,type,reply_key}")
|
|
});
|