Skip to content

Commit

Permalink
fix: adding typing delay to associated users table
Browse files Browse the repository at this point in the history
  • Loading branch information
kiram15 committed Jan 21, 2025
1 parent 41c83a9 commit bedfdda
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,13 @@ const useCustomerUsersTableData = (enterpriseUuid) => {
setIsLoading(false);
}
};

if (enterpriseUuid) {
fetch();
if (args.filters.length && args.filters[0].value.length > 2) {
fetch();

Check warning on line 62 in src/Configuration/Customers/data/hooks/useCustomerUsersTableData.js

View check run for this annotation

Codecov / codecov/patch

src/Configuration/Customers/data/hooks/useCustomerUsersTableData.js#L62

Added line #L62 was not covered by tests
} else if (!args.filters.length) {
fetch();

Check warning on line 64 in src/Configuration/Customers/data/hooks/useCustomerUsersTableData.js

View check run for this annotation

Codecov / codecov/patch

src/Configuration/Customers/data/hooks/useCustomerUsersTableData.js#L64

Added line #L64 was not covered by tests
}
}
}, [enterpriseUuid]);

Expand Down

0 comments on commit bedfdda

Please sign in to comment.