[frontend] Minor cleanup
This commit is contained in:
parent
71354fd27f
commit
db1de23484
1 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@
|
||||||
@inject NavigationManager NavigationManager
|
@inject NavigationManager NavigationManager
|
||||||
@inject ComposeService ComposeService
|
@inject ComposeService ComposeService
|
||||||
@inject SessionService Session;
|
@inject SessionService Session;
|
||||||
<CascadingValue Value="this">
|
|
||||||
<div class="note-header">
|
<div class="note-header">
|
||||||
<NoteUserInfo
|
<NoteUserInfo
|
||||||
AvatarUrl="@Note.User.AvatarUrl"
|
AvatarUrl="@Note.User.AvatarUrl"
|
||||||
|
@ -27,7 +26,6 @@
|
||||||
}
|
}
|
||||||
@if (!AsQuote)
|
@if (!AsQuote)
|
||||||
{
|
{
|
||||||
@* FIXME: Allow renotes when the post is from the current user *@
|
|
||||||
<NoteFooter
|
<NoteFooter
|
||||||
Reactions="Note.Reactions"
|
Reactions="Note.Reactions"
|
||||||
Likes="Note.Likes"
|
Likes="Note.Likes"
|
||||||
|
@ -36,7 +34,6 @@
|
||||||
RenotePossible=
|
RenotePossible=
|
||||||
"@(Note.Visibility == NoteVisibility.Public || Note.Visibility == NoteVisibility.Home || Session.Current?.Id == Note.User.Id)"/>
|
"@(Note.Visibility == NoteVisibility.Public || Note.Visibility == NoteVisibility.Home || Session.Current?.Id == Note.User.Id)"/>
|
||||||
}
|
}
|
||||||
</CascadingValue>
|
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
[Parameter] [EditorRequired] public required NoteBase Note { get; set; }
|
[Parameter] [EditorRequired] public required NoteBase Note { get; set; }
|
||||||
|
|
Loading…
Add table
Reference in a new issue