mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
Link editing.
This commit is contained in:
parent
0558563d35
commit
5f4b83b09c
13 changed files with 123 additions and 89 deletions
|
|
@ -5,12 +5,13 @@ import { DateDistance } from '@/components/common/DateDistance';
|
|||
import { ExternalLink } from '@/components/common/ExternalLink';
|
||||
import { LinkEditButton } from './LinkEditButton';
|
||||
import { LinkDeleteButton } from './LinkDeleteButton';
|
||||
import { LINKS_URL } from '@/lib/constants';
|
||||
|
||||
export function LinksTable({ data = [] }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { websiteId } = useNavigation();
|
||||
const { linksUrl } = useConfig();
|
||||
const hostUrl = linksUrl || `${window.location.origin}/x`;
|
||||
const hostUrl = linksUrl || LINKS_URL;
|
||||
|
||||
if (data.length === 0) {
|
||||
return <Empty />;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue