mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07: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
@ -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…
Reference in New Issue
Block a user