Revert "[frontend/components] Fix visibility of renote menu"
This reverts commit 0b26ed4cca6a5a57c1088b7e810bdb528f9b8f11.
This commit is contained in:
parent
41b5d91b8f
commit
bcfdf140cf
1 changed files with 15 additions and 15 deletions
|
@ -34,16 +34,6 @@
|
|||
@if (RenotePossible)
|
||||
{
|
||||
<Icon Name="Icons.Repeat" Size="1.3em"/>
|
||||
}
|
||||
else
|
||||
{
|
||||
<Icon Name="Icons.Lock" Size="1.3em" class="faded"/>
|
||||
}
|
||||
@if (Renotes > 0)
|
||||
{
|
||||
<span class="renote-count">@Renotes</span>
|
||||
}
|
||||
</button>
|
||||
<Menu @ref="RenoteMenu">
|
||||
@if (Note.Visibility == NoteVisibility.Public)
|
||||
{
|
||||
|
@ -59,6 +49,16 @@
|
|||
</MenuElement>
|
||||
<ClosingBackdrop OnClose="RenoteMenu.Close"></ClosingBackdrop>
|
||||
</Menu>
|
||||
}
|
||||
else
|
||||
{
|
||||
<Icon Name="Icons.Lock" Size="1.3em" class="faded"/>
|
||||
}
|
||||
@if (Renotes > 0)
|
||||
{
|
||||
<span class="renote-count">@Renotes</span>
|
||||
}
|
||||
</button>
|
||||
<button @onclick="Like" @onclick:stopPropagation="true" class="btn" aria-label="like">
|
||||
@if (IsLiked)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue