[frontend/pages] Don't show open original page button if URL is null

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

View file

@ -71,7 +71,7 @@
</MenuElement>
}
}
@if (UserResponse.Host != null && Profile != null)
@if (UserResponse.Host != null && Profile?.Url != null)
{
<MenuElement Icon="Icons.ArrowSquareOut" OnSelect="OpenOriginal">
<Text>@Loc["Open original page"]</Text>