mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Metrics bar styling.
This commit is contained in:
parent
df66acaacf
commit
24af06f3aa
7 changed files with 16 additions and 8 deletions
|
|
@ -13,10 +13,12 @@ import { Dropdown, Item } from 'react-basics';
|
|||
export function WebsiteMetricsBar({
|
||||
websiteId,
|
||||
sticky,
|
||||
showChange = false,
|
||||
compareMode = false,
|
||||
}: {
|
||||
websiteId: string;
|
||||
sticky?: boolean;
|
||||
showChange?: boolean;
|
||||
compareMode?: boolean;
|
||||
}) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
|
|
@ -88,6 +90,7 @@ export function WebsiteMetricsBar({
|
|||
change={change}
|
||||
format={format}
|
||||
reverseColors={reverseColors}
|
||||
showChange={compareMode || showChange}
|
||||
showPrevious={compareMode}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue