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