mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
added protocoll to share url
This commit is contained in:
parent
393ab6ef4c
commit
2bc5b95151
@ -30,7 +30,7 @@ export const GroupSubHeaderView = ({
|
|||||||
url={
|
url={
|
||||||
shareBaseUrl && item.slug
|
shareBaseUrl && item.slug
|
||||||
? shareBaseUrl + item.slug
|
? shareBaseUrl + item.slug
|
||||||
: window.location.host + '/item/' + item.id
|
: window.location.protocol + '//' + window.location.host + '/item/' + item.id
|
||||||
}
|
}
|
||||||
title={item.name}
|
title={item.name}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user