mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
Replace loading text with icon
This commit is contained in:
parent
0c78e31300
commit
23120ec011
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import { useMemo } from 'react';
|
import { useMemo } from 'react';
|
||||||
import { GridColumn, GridTable, Flexbox, Button, ButtonGroup } from 'react-basics';
|
import { GridColumn, GridTable, Flexbox, Button, ButtonGroup, Loading } from 'react-basics';
|
||||||
import { useEventDataProperties, useEventDataValues, useMessages } from '@/components/hooks';
|
import { useEventDataProperties, useEventDataValues, useMessages } from '@/components/hooks';
|
||||||
import { LoadingPanel } from '@/components/common/LoadingPanel';
|
import { LoadingPanel } from '@/components/common/LoadingPanel';
|
||||||
import PieChart from '@/components/charts/PieChart';
|
import PieChart from '@/components/charts/PieChart';
|
||||||
|
|
@ -82,8 +82,8 @@ export function EventProperties({ websiteId }: { websiteId: string }) {
|
||||||
</ButtonGroup>
|
</ButtonGroup>
|
||||||
</Flexbox>
|
</Flexbox>
|
||||||
|
|
||||||
{values?.length === 0 ? (
|
{!values ? (
|
||||||
<div>{formatMessage(labels.noData)}</div>
|
<Loading icon="dots" />
|
||||||
) : propertyView === 'table' ? (
|
) : propertyView === 'table' ? (
|
||||||
<ListTable data={tableData} />
|
<ListTable data={tableData} />
|
||||||
) : (
|
) : (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue