mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
Insights report updates.
This commit is contained in:
parent
ccafb03c47
commit
2e1e5e2616
8 changed files with 101 additions and 88 deletions
|
|
@ -9,10 +9,10 @@ export default function FieldSelectForm({ fields, onSelect }) {
|
|||
<Form>
|
||||
<FormRow label={formatMessage(labels.fields)}>
|
||||
<Menu className={styles.menu} onSelect={key => onSelect(fields[key])}>
|
||||
{fields.map(({ name, type }, index) => {
|
||||
{fields.map(({ label, name, type }, index) => {
|
||||
return (
|
||||
<Item key={index} className={styles.item}>
|
||||
<div>{name}</div>
|
||||
<div>{label || name}</div>
|
||||
<div className={styles.type}>{type}</div>
|
||||
</Item>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue