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);