[frontend/pages] Don't show copy remote link button if URL is null

This commit is contained in:
pancakes 2025-01-11 00:11:58 +10:00 committed by Laura Hausmann
parent 1b032a6cd9
commit d0eac29552
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -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>