mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
This reverts commit 8b426431a41ad6e91de05614a2d35d48c5112fa7.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import Controller from "@ember/controller";
|
||||
import { INPUT_DELAY } from "discourse-common/config/environment";
|
||||
import { debounce } from "@ember/runloop";
|
||||
import discourseComputed from "discourse-common/utils/decorators";
|
||||
import discourseDebounce from "discourse-common/lib/debounce";
|
||||
|
||||
const { get } = Ember;
|
||||
|
||||
@ -34,7 +34,7 @@ export default Controller.extend({
|
||||
|
||||
actions: {
|
||||
filterReports(filter) {
|
||||
discourseDebounce(this, this._performFiltering, filter, INPUT_DELAY);
|
||||
debounce(this, this._performFiltering, filter, INPUT_DELAY);
|
||||
},
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user