diff --git a/Components/Layout/AvatarMenu.razor b/Components/Layout/AvatarMenu.razor index 9842548..3e74d6e 100644 --- a/Components/Layout/AvatarMenu.razor +++ b/Components/Layout/AvatarMenu.razor @@ -49,7 +49,7 @@ - @@ -63,8 +65,8 @@
- - @if (Address == State.SelectedAddressName) { + + @if (IsMe) { @@ -100,7 +102,7 @@ private StatusList StatusList { get; set; } private PicList PicList { get; set; } - private bool Editable { + private bool IsMe { get => Address == State.SelectedAddressName; }