mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +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 { 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 { LoadingPanel } from '@/components/common/LoadingPanel';
|
||||
import PieChart from '@/components/charts/PieChart';
|
||||
|
|
@ -82,8 +82,8 @@ export function EventProperties({ websiteId }: { websiteId: string }) {
|
|||
</ButtonGroup>
|
||||
</Flexbox>
|
||||
|
||||
{values?.length === 0 ? (
|
||||
<div>{formatMessage(labels.noData)}</div>
|
||||
{!values ? (
|
||||
<Loading icon="dots" />
|
||||
) : propertyView === 'table' ? (
|
||||
<ListTable data={tableData} />
|
||||
) : (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue