Skip to content

Commit 60080d9

Browse files
antleblanclizardK
authored andcommitted
fix(group): remove debounce
ref: ovh-ux/ovh-module-exchange#330
1 parent f6459e0 commit 60080d9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/manager/modules/exchange/src/group/group.controller.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import angular from 'angular';
2-
import debounce from 'lodash/debounce';
32

43
export default class ExchangeTabGroupsCtrl {
54
/* @ngInject */
@@ -27,15 +26,14 @@ export default class ExchangeTabGroupsCtrl {
2726
$scope.$on('showGroups', () => this.displayGroups());
2827
$scope.$on('showManagers', () => this.displayManagersByGroup());
2928
$scope.$on('showMembers', () => this.displayMembersByGroup());
30-
this.debouncedGetMailingLists = debounce(this.getMailingLists, 300);
3129

3230
$scope.getLoading = () => this.getLoading();
3331
$scope.getMailingListObjects = () => this.getMailingListObjects();
3432
$scope.getMailingLists = (count, offset) => this.getMailingLists(count, offset);
3533
}
3634

3735
onSearchValueChange() {
38-
this.debouncedGetMailingLists();
36+
this.getMailingLists();
3937
}
4038

4139
displayGroups() {

0 commit comments

Comments
 (0)