Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,13 @@
setIsLoading(false);
}
};

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[question] Do we know that the typing filter will always be first in the list of filters?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, its the only filter we have for this table

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
Loading