mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
proper links to copy
This commit is contained in:
parent
bce5350467
commit
0836b52719
1 changed files with 9 additions and 3 deletions
|
|
@ -168,17 +168,23 @@ const Example = () => {
|
|||
|
||||
const copyM3UUrl = async (event) => {
|
||||
setAnchorEl(event.currentTarget);
|
||||
setTextToCopy('m3u url');
|
||||
setTextToCopy(
|
||||
`${window.location.protocol}//${window.location.host}/output/m3u`
|
||||
);
|
||||
};
|
||||
|
||||
const copyEPGUrl = async (event) => {
|
||||
setAnchorEl(event.currentTarget);
|
||||
setTextToCopy('epg url');
|
||||
setTextToCopy(
|
||||
`${window.location.protocol}//${window.location.host}/output/epg`
|
||||
);
|
||||
};
|
||||
|
||||
const copyHDHRUrl = async (event) => {
|
||||
setAnchorEl(event.currentTarget);
|
||||
setTextToCopy('hdhr url');
|
||||
setTextToCopy(
|
||||
`${window.location.protocol}//${window.location.host}/output/hdhr`
|
||||
);
|
||||
};
|
||||
|
||||
const table = useMaterialReactTable({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue