2016-01-18 18:57:55 -05: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-18 08:18:52 -05:00
|
|
|
import discourseDebounce from "discourse-common/lib/debounce";
|
2023-03-15 05:42:12 -04:00
|
|
|
import { observes } from "@ember-decorators/object";
|
2014-07-22 23:20:45 -04:00
|
|
|
|
2023-03-15 05:42:12 -04:00
|
|
|
export default class AdminEmailSentController extends AdminEmailLogsController {
|
2020-01-16 12:56:53 -05:00
|
|
|
@observes("filter.{status,user,address,type,reply_key}")
|
2020-12-18 08:18:52 -05:00
|
|
|
filterEmailLogs() {
|
|
|
|
discourseDebounce(this, this.loadLogs, INPUT_DELAY);
|
2023-03-15 05:42:12 -04:00
|
|
|
}
|
|
|
|
}
|