mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Apply suggestions from code review
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
9911a43478
commit
cfb22c0fb9
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ function getTimersHtml(timers, options) {
|
|||
let currentGroupName = '';
|
||||
let currentGroup = [];
|
||||
|
||||
for (const item in items) {
|
||||
for (const item of items) {
|
||||
let dateText = '';
|
||||
|
||||
if (options.indexByDate !== false && item.StartDate) {
|
||||
|
@ -60,7 +60,7 @@ function getTimersHtml(timers, options) {
|
|||
});
|
||||
}
|
||||
let html = '';
|
||||
for (const group in groups) {
|
||||
for (const group of groups) {
|
||||
if (group.name) {
|
||||
html += '<div class="verticalSection">';
|
||||
html += '<h2 class="sectionTitle sectionTitle-cards padded-left">' + group.name + '</h2>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue