Rename paletteEditorEnabled to installerEnabled

This commit is contained in:
Nick O'Leary
2020-12-02 13:14:39 +00:00
parent 6fb96fa3c1
commit fca21ac126
5 changed files with 17 additions and 17 deletions

View File

@@ -90,7 +90,7 @@ var api = module.exports = {
safeSettings.flowFilePretty = runtime.settings.flowFilePretty;
}
if (!runtime.nodes.paletteEditorEnabled()) {
if (!runtime.nodes.installerEnabled()) {
safeSettings.editorTheme = safeSettings.editorTheme || {};
safeSettings.editorTheme.palette = safeSettings.editorTheme.palette || {};
safeSettings.editorTheme.palette.editable = false;

View File

@@ -187,7 +187,7 @@ module.exports = {
getContext: context.get,
paletteEditorEnabled: registry.paletteEditorEnabled,
installerEnabled: registry.installerEnabled,
installModule: installModule,
uninstallModule: uninstallModule,