2018-06-15 11:03:24 -04:00
|
|
|
import AdminEmailLogsController from "admin/controllers/admin-email-logs";
|
2019-11-11 13:34:01 -05:00
|
|
|
import discourseDebounce from "discourse/lib/debounce";
|
2020-01-16 12:56:53 -05:00
|
|
|
import { observes } from "discourse-common/utils/decorators";
|
2014-07-22 23:20:45 -04:00
|
|
|
|
2016-01-18 18:57:55 -05:00
|
|
|
export default AdminEmailLogsController.extend({
|
2020-01-16 12:56:53 -05:00
|
|
|
@observes("filter.{status,user,address,type}")
|
2019-11-11 13:34:01 -05:00
|
|
|
filterEmailLogs: discourseDebounce(function() {
|
2019-02-26 11:53:52 -05:00
|
|
|
this.loadLogs();
|
2020-01-16 12:56:53 -05:00
|
|
|
}, 250)
|
2014-07-22 23:20:45 -04:00
|
|
|
});
|