fix: increase website selector dropdown limit from 10 to 100
The WebsiteSelect component had a hardcoded pageSize of 10, which meant users with more than 10 websites could not see all of them in the dropdown. The list container already has maxHeight: 400px with scroll, so a higher limit doesn't affect the UI. Fixes #4128
This commit is contained in:
1 parent
0a838649b7
commit
28ee4c9137
1 file changed
+1
-1
@@ -26,7 +26,7 @@ export function WebsiteSelect({
|
||||
const { user } = useLoginQuery();
|
||||
const { data, isLoading } = useUserWebsitesQuery(
|
||||
{ userId: user?.id, teamId },
|
||||
{ search, pageSize: 10, includeTeams },
|
||||
{ search, pageSize: 100, includeTeams },
|
||||
);
|
||||
const listItems: { id: string; name: string }[] = data?.data || [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user