umami icon indicating copy to clipboard operation
umami copied to clipboard

Website selector dropdown only shows 10 sites

Open gputier opened this issue 8 months ago • 5 comments

Describe the Bug

The website selector dropdown (top-left corner of the dashboard) only displays 10 websites. If you have more than 10, the rest simply don't show up — you have to know about the search field and type part of the name to find them.

The culprit is a hardcoded pageSize: 10 in src/components/input/WebsiteSelect.tsx (line 30):

const { data, isLoading } = useUserWebsitesQuery(
  { userId: user?.id, teamId },
  { search, pageSize: 10, includeTeams },
);

I run 12 websites and only noticed two were missing when a colleague asked why they couldn't switch to one of them. Not a great experience.

Bumping the value to something like 100 (or removing the cap entirely since the list already has maxHeight: 400px with scroll) would fix this. Happy to open a PR if that works for you.

Expected behavior

All websites owned by the user should appear in the dropdown, regardless of count.

Database

PostgreSQL

Umami version

v3.0.3 (also confirmed on current master — still hardcoded)

Browser

Firefox / Chrome

Deployment

Docker (self-hosted)

gputier avatar Apr 02 '26 12:04 gputier

hey!

https://github.com/umami-software/umami/pull/4129 =-)

gputier avatar Apr 02 '26 13:04 gputier

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Jun 04 '26 02:06 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Jun 11 '26 02:06 github-actions[bot]