From 96e49dadd4cf04eeaf54463a0b748055805dc93a Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Wed, 4 Sep 2024 11:28:58 -0600 Subject: [PATCH] set default values for getting the list of ordered plugins --- src/components/libraryoptionseditor/libraryoptionseditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index 8b9eddd467..84bcf4bdcb 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.js +++ b/src/components/libraryoptionseditor/libraryoptionseditor.js @@ -622,7 +622,7 @@ export function getLibraryOptions(parent) { return options; } -function getOrderedPlugins(plugins, configuredOrder) { +function getOrderedPlugins(plugins = [], configuredOrder = []) { plugins = plugins.slice(0); plugins.sort((a, b) => { a = configuredOrder.indexOf(a.Name);