From 0703428bbbaf58f6790590dde6c6477a9ed7a120 Mon Sep 17 00:00:00 2001 From: San <52472550+sancodes@users.noreply.github.com> Date: Fri, 20 May 2022 13:26:53 -0700 Subject: [PATCH] modify inline code and fix indentation Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com> --- src/components/libraryoptionseditor/libraryoptionseditor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index 18d1c9a8f..23b1cb105 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.js +++ b/src/components/libraryoptionseditor/libraryoptionseditor.js @@ -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; }