[frontend/pages] Don't show copy remote link button if URL is null
This commit is contained in:
parent
1b032a6cd9
commit
d0eac29552
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@
|
|||
<MenuElement Icon="Icons.Share" OnSelect="CopyLink">
|
||||
<Text>@Loc["Copy link"]</Text>
|
||||
</MenuElement>
|
||||
@if (UserResponse.Host != null)
|
||||
@if (UserResponse.Host != null && Profile?.Url != null)
|
||||
{
|
||||
<MenuElement Icon="Icons.ShareNetwork" OnSelect="CopyLinkRemote">
|
||||
<Text>@Loc["Copy link (remote)"]</Text>
|
||||
|
|
Loading…
Add table
Reference in a new issue