mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
add improved truncation between tablets and phones
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
This commit is contained in:
parent
74972bccb1
commit
6eefb4173c
2 changed files with 4 additions and 3 deletions
|
|
@ -42,7 +42,7 @@ export function ListTable({
|
|||
currency,
|
||||
}: ListTableProps) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { isMobile } = useMobile();
|
||||
const { isPhone } = useMobile();
|
||||
|
||||
const getRow = (row: ListData, index: number) => {
|
||||
const { label, count, percent } = row;
|
||||
|
|
@ -57,7 +57,7 @@ export function ListTable({
|
|||
showPercentage={showPercentage}
|
||||
change={renderChange ? renderChange(row, index) : null}
|
||||
currency={currency}
|
||||
isMobile={isMobile}
|
||||
isMobile={isPhone}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue