1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Resolve suggestions

This commit is contained in:
MrTimscampi 2020-07-24 13:08:49 +02:00
parent fba795fd63
commit ffc22f629e
7 changed files with 8 additions and 17 deletions

View file

@ -256,8 +256,7 @@ import 'listViewStyle';
html += '<ul data-role="listview" data-inset="true" data-split-icon="delete">';
let currentType;
for (let i = 0, length = profiles.length; i < length; i++) {
const profile = profiles[i];
for (const profile of profiles) {
if (profile.Type !== currentType) {
html += '<li data-role="list-divider">' + profile.Type + '</li>';