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: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
96e49dadd4
commit
6c39c5d9b8
1 changed files with 1 additions and 2 deletions
|
@ -220,12 +220,11 @@ function renderLyricFetchers(page, availableOptions, libraryOptions) {
|
||||||
const elem = page.querySelector('.lyricFetchers');
|
const elem = page.querySelector('.lyricFetchers');
|
||||||
|
|
||||||
let plugins = availableOptions.LyricFetchers;
|
let plugins = availableOptions.LyricFetchers;
|
||||||
plugins = getOrderedPlugins(plugins, libraryOptions.LyricFetcherOrder || []);
|
plugins = getOrderedPlugins(plugins, libraryOptions.LyricFetcherOrder);
|
||||||
if (!plugins.length) return html;
|
if (!plugins.length) return html;
|
||||||
|
|
||||||
html += `<h3 class="checkboxListLabel">${globalize.translate('LabelLyricDownloaders')}</h3>`;
|
html += `<h3 class="checkboxListLabel">${globalize.translate('LabelLyricDownloaders')}</h3>`;
|
||||||
html += '<div class="checkboxList paperList checkboxList-paperList">';
|
html += '<div class="checkboxList paperList checkboxList-paperList">';
|
||||||
console.log(libraryOptions);
|
|
||||||
for (let i = 0; i < plugins.length; i++) {
|
for (let i = 0; i < plugins.length; i++) {
|
||||||
const plugin = plugins[i];
|
const plugin = plugins[i];
|
||||||
html += `<div class="listItem lyricFetcherItem sortableOption" data-pluginname="${escapeHtml(plugin.Name)}">`;
|
html += `<div class="listItem lyricFetcherItem sortableOption" data-pluginname="${escapeHtml(plugin.Name)}">`;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue