Skip to content

Commit 7a9423d

Browse files
committed
fix: PR request
1 parent bedfdda commit 7a9423d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ const useCustomerUsersTableData = (enterpriseUuid) => {
5858
};
5959

6060
if (enterpriseUuid) {
61-
if (args.filters.length && args.filters[0].value.length > 2) {
62-
fetch();
63-
} else if (!args.filters.length) {
61+
if (!args.filters.length || args.filters[0].value.length > 2) {
6462
fetch();
6563
}
6664
}

0 commit comments

Comments
 (0)