mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 23:34:38 +01:00
Apply suggestions from code review
This commit is contained in:
@@ -1694,7 +1694,7 @@ RED.palette.editor = (function() {
|
||||
|
||||
function autoInstallModules(modules) {
|
||||
if (RED.settings.get('externalModules.palette.allowInstall', true) === false) {
|
||||
console.error(new Error('Palette not editable'));
|
||||
console.error('Palette not editable');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user