mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 02:43:08 -05:00
This reverts commit 8b426431a4.
This commit is contained in:
@@ -3,7 +3,14 @@ import PluginApiMixin, {
|
||||
applyContentPluginApiCallbacks,
|
||||
applyOnChangePluginApiCallbacks,
|
||||
} from "select-kit/mixins/plugin-api";
|
||||
import { bind, cancel, next, schedule, throttle } from "@ember/runloop";
|
||||
import {
|
||||
bind,
|
||||
cancel,
|
||||
debounce,
|
||||
next,
|
||||
schedule,
|
||||
throttle,
|
||||
} from "@ember/runloop";
|
||||
import { isEmpty, isNone, isPresent } from "@ember/utils";
|
||||
import Component from "@ember/component";
|
||||
import I18n from "I18n";
|
||||
@@ -12,7 +19,6 @@ import { Promise } from "rsvp";
|
||||
import UtilsMixin from "select-kit/mixins/utils";
|
||||
import { createPopper } from "@popperjs/core";
|
||||
import deprecated from "discourse-common/lib/deprecated";
|
||||
import discourseDebounce from "discourse-common/lib/debounce";
|
||||
import { guidFor } from "@ember/object/internals";
|
||||
import { makeArray } from "discourse-common/lib/helpers";
|
||||
|
||||
@@ -380,7 +386,7 @@ export default Component.extend(
|
||||
cancel(this._searchPromise);
|
||||
}
|
||||
|
||||
discourseDebounce(this, this._debouncedInput, event.target.value, 200);
|
||||
debounce(this, this._debouncedInput, event.target.value, 200);
|
||||
},
|
||||
|
||||
_debouncedInput(filter) {
|
||||
|
||||
Reference in New Issue
Block a user