modify inline code and fix indentation

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
San 2022-05-20 13:26:53 -07:00 committed by GitHub
parent 4794886399
commit 0703428bbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -559,9 +559,9 @@ import template from './libraryoptionseditor.template.html';
function getOrderedPlugins(plugins, configuredOrder) {
plugins = plugins.slice(0);
plugins.sort((a, b) => {
a = configuredOrder.indexOf(a.Name);
b = configuredOrder.indexOf(b.Name);
return a - b;
a = configuredOrder.indexOf(a.Name);
b = configuredOrder.indexOf(b.Name);
return a - b;
});
return plugins;
}