Skip to content

Commit

Permalink
cosmetic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-zhur committed Oct 1, 2024
1 parent 58892c4 commit 75d9ef9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions OneShelf.Frontend/OneShelf.Frontend.Web/Pages/Print.razor
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ else
}
<div>
<span>Люблю:</span>
<input type="radio" name="alteration" id="preferSharp" value="@NoteAlteration.Sharp" checked="@(_preferences.Alteration == NoteAlteration.Sharp)" @onchange="e => SetAlteration(NoteAlteration.Sharp)"/>
<input type="radio" name="alteration" id="preferSharp" value="@NoteAlteration.Sharp" checked="@(_preferences.Alteration == NoteAlteration.Sharp)" @onchange="() => SetAlteration(NoteAlteration.Sharp)"/>
<label for="preferSharp">###</label>
<input type="radio" name="alteration" id="preferFlat" value="@NoteAlteration.Flat" checked="@(_preferences.Alteration == NoteAlteration.Flat)" @onchange="e => SetAlteration(NoteAlteration.Flat)"/>
<input type="radio" name="alteration" id="preferFlat" value="@NoteAlteration.Flat" checked="@(_preferences.Alteration == NoteAlteration.Flat)" @onchange="() => SetAlteration(NoteAlteration.Flat)"/>
<label for="preferFlat">bbb</label>
<input type="radio" name="alteration" id="preferNone" value="null" checked="@(_preferences.Alteration == null)" @onchange="e => SetAlteration(null)"/>
<input type="radio" name="alteration" id="preferNone" value="null" checked="@(_preferences.Alteration == null)" @onchange="() => SetAlteration(null)"/>
<label for="preferNone">Что есть, то есть</label>
</div>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ else
.ThenByDescending(x => x.x.TemplateRating),
SongsMode.NewestLike => songs
.Select(x => ((string?)null, (int?)null, x))
.OrderByDescending(x => x.x.Likes.Where(ShortlistedUserId.HasValue ? x => x.UserId == ShortlistedUserId : LikeCategoryId.HasValue ? x => x.LikeCategoryId == LikeCategoryId : x => true).Max(x => x.CreatedOn))
.OrderByDescending(x => x.x.Likes.Where(ShortlistedUserId.HasValue ? x => x.UserId == ShortlistedUserId : LikeCategoryId.HasValue ? x => x.LikeCategoryId == LikeCategoryId : _ => true).Max(x => x.CreatedOn))
.ThenByDescending(x => x.x.TemplateRating),
SongsMode.IndexDesc => songs
.Select(x => ((string?)null, (int?)null, x))
Expand Down

0 comments on commit 75d9ef9

Please sign in to comment.