Fix Searchbar debouncing in admin UI (#2735)

Applied ember-concurrency task usage to admin UI model hooks to help fix the debouncing issue.
This commit is contained in:
Zhihe Li authored and GitHub committed 2025-03-18 11:20:50 -04:00
1 parent 01c34c0a79
commit f8b3792e62
28 files changed
+689 -519

No files matched your search

@@ -10,7 +10,6 @@ import { loading } from 'ember-loading';
import { confirm } from 'core/decorators/confirm';
import { notifySuccess, notifyError } from 'core/decorators/notify';
import { tracked } from '@glimmer/tracking';
import { debounce } from 'core/decorators/debounce';
import { TYPES_AUTH_METHOD } from 'api/models/auth-method';
export default class ScopesScopeAuthMethodsIndexController extends Controller {
@@ -104,7 +103,6 @@ export default class ScopesScopeAuthMethodsIndexController extends Controller {
* @param {object} event
*/
@action
@debounce(250)
handleSearchInput(event) {
const { value } = event.target;
this.search = value;