mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
Updated component library build.
This commit is contained in:
parent
280f6a9113
commit
89db57a380
14 changed files with 146 additions and 99 deletions
|
|
@ -3,7 +3,6 @@ import { Button, Text, Icon, Icons } from 'react-basics';
|
|||
import SettingsTable from 'components/common/SettingsTable';
|
||||
import Empty from 'components/common/Empty';
|
||||
import useMessages from 'components/hooks/useMessages';
|
||||
import useConfig from 'components/hooks/useConfig';
|
||||
import useUser from 'components/hooks/useUser';
|
||||
|
||||
export function WebsitesTable({
|
||||
|
|
@ -14,12 +13,12 @@ export function WebsitesTable({
|
|||
onPageSizeChange,
|
||||
showTeam,
|
||||
showEditButton,
|
||||
openExternal = false,
|
||||
}) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { openExternal } = useConfig();
|
||||
const { user } = useUser();
|
||||
|
||||
const showTable = data && (filterValue || data?.data.length !== 0);
|
||||
const showTable = data && (filterValue || data?.data?.length !== 0);
|
||||
|
||||
const teamColumns = [
|
||||
{ name: 'teamName', label: formatMessage(labels.teamName) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue