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

Address more feedback

This commit is contained in:
MrTimscampi 2020-07-25 13:42:03 +02:00
parent 5799a877a9
commit b7d2561dae
12 changed files with 20 additions and 26 deletions

View file

@ -256,7 +256,7 @@ import 'listViewStyle';
html += '<ul data-role="listview" data-inset="true" data-split-icon="delete">';
let currentType;
for (const profile of profiles) {
for (const [index, profile] of profiles.entries()) {
if (profile.Type !== currentType) {
html += '<li data-role="list-divider">' + profile.Type + '</li>';
@ -264,7 +264,7 @@ import 'listViewStyle';
}
html += '<div>';
html += '<a is="emby-linkbutton" href="#" class="lnkEditSubProfile" data-profileindex="' + i + '">';
html += '<a is="emby-linkbutton" href="#" class="lnkEditSubProfile" data-profileindex="' + index + '">';
html += '<p>' + globalize.translate('ValueContainer', profile.Container || allText) + '</p>';
if ('Video' == profile.Type) {
@ -277,7 +277,7 @@ import 'listViewStyle';
}
html += '</a>';
html += '<button type="button" is="paper-icon-button-light" class="btnDeleteProfile listItemButton" data-profileindex="' + i + '"><span class="material-icons delete"></span></button>';
html += '<button type="button" is="paper-icon-button-light" class="btnDeleteProfile listItemButton" data-profileindex="' + index + '"><span class="material-icons delete"></span></button>';
html += '</div>';
}