2018-07-24 01:43:52 -04:00
|
|
|
import AdminEmailLogsController from "admin/controllers/admin-email-logs";
|
2020-03-11 10:28:16 -04:00
|
|
|
import { INPUT_DELAY } from "discourse-common/config/environment";
|
2020-12-10 14:48:25 -05:00
|
|
|
import discourseDebounce from "discourse/lib/debounce";
|
2020-01-16 12:56:53 -05:00
|
|
|
import { observes } from "discourse-common/utils/decorators";
|
2016-05-02 17:15:32 -04:00
|
|
|
|
|
|
|
export default AdminEmailLogsController.extend({
|
2020-01-16 12:56:53 -05:00
|
|
|
@observes("filter.{status,user,address,type}")
|
2020-12-10 14:48:25 -05:00
|
|
|
filterEmailLogs: discourseDebounce(function () {
|
|
|
|
this.loadLogs();
|
|
|
|
}, INPUT_DELAY),
|
2016-05-02 17:15:32 -04:00
|
|
|
});
|