mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
feat: event data dashboard now shows associated event
This commit is contained in:
parent
92fc4e87c7
commit
145a490c5d
4 changed files with 22 additions and 13 deletions
|
|
@ -5,7 +5,7 @@ import Icons from 'components/icons';
|
|||
import PageHeader from 'components/layout/PageHeader';
|
||||
import Empty from 'components/common/Empty';
|
||||
|
||||
export function EventDataTable({ data = [], field }) {
|
||||
export function EventDataTable({ data = [], field, event }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { resolveUrl } = usePageQuery();
|
||||
|
||||
|
|
@ -20,7 +20,9 @@ export function EventDataTable({ data = [], field }) {
|
|||
<Text>{formatMessage(labels.back)}</Text>
|
||||
</Button>
|
||||
</Link>
|
||||
<Text>{field}</Text>
|
||||
<Text>
|
||||
{event} - {field}
|
||||
</Text>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue