Merge branch 'dev' of https://github.com/umami-software/umami into analytics
This commit is contained in:
commit
6c793325e2
3 files changed
+17
-4
No files matched your search
@@ -11,7 +11,10 @@ export function SharesTable(props: DataTableProps) {
|
||||
const { isMobile } = useMobile();
|
||||
|
||||
const getUrl = (slug: string) => {
|
||||
return `${cloudMode ? process.env.cloudUrl : window?.location.origin}${process.env.basePath || ''}/share/${slug}`;
|
||||
if (cloudMode) {
|
||||
return `${process.env.cloudUrl}/share/${slug}`;
|
||||
}
|
||||
return `${window?.location.origin}${process.env.basePath || ''}/share/${slug}`;
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user