mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
modify inline code and fix indentation
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
4794886399
commit
0703428bbb
@ -559,9 +559,9 @@ import template from './libraryoptionseditor.template.html';
|
|||||||
function getOrderedPlugins(plugins, configuredOrder) {
|
function getOrderedPlugins(plugins, configuredOrder) {
|
||||||
plugins = plugins.slice(0);
|
plugins = plugins.slice(0);
|
||||||
plugins.sort((a, b) => {
|
plugins.sort((a, b) => {
|
||||||
a = configuredOrder.indexOf(a.Name);
|
a = configuredOrder.indexOf(a.Name);
|
||||||
b = configuredOrder.indexOf(b.Name);
|
b = configuredOrder.indexOf(b.Name);
|
||||||
return a - b;
|
return a - b;
|
||||||
});
|
});
|
||||||
return plugins;
|
return plugins;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user