mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 17:45:38 +01:00
update pinned ui. remove paging if dashboard edited
This commit is contained in:
parent
27295380b7
commit
ec2f5203fe
4 changed files with 20 additions and 13 deletions
|
|
@ -13,9 +13,9 @@ import LinkButton from 'components/common/LinkButton';
|
|||
export function DashboardPage() {
|
||||
const { formatMessage, labels, messages } = useMessages();
|
||||
const { teamId, renderTeamUrl } = useTeamUrl();
|
||||
const { showCharts, editing } = useDashboard();
|
||||
const { showCharts, editing, isEdited } = useDashboard();
|
||||
const { dir } = useLocale();
|
||||
const pageSize = 10;
|
||||
const pageSize = isEdited ? 200 : 10;
|
||||
|
||||
const { result, query, params, setParams } = useWebsites({ teamId }, { pageSize });
|
||||
const { page } = params;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue