Apply suggestions from code review

This commit is contained in:
Nick O'Leary
2025-06-06 10:15:53 +01:00
committed by GitHub
parent 332fbae39e
commit 843313185a
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -407,7 +407,7 @@
"unknown": "unknown"
},
"manageModules": "Manage modules",
"tip": "<p>This node is a type unknown to your installation of Node-RED.</p><p><i>If you deploy with the node in this state, it's configuration will be preserved, but the flow will not start until the missing type is installed.</i></p><p>See the Info side bar for more help</p><p>You can also click the button below to open the palette and install the missing modules.</p>"
"tip": "<p>This node is a type unknown to your installation of Node-RED.</p><p><i>If you deploy with the node in this state, it's configuration will be preserved, but the flow will not start until the missing type is installed.</i></p><p>See the Info side bar for more help</p>"
},
"mqtt": {
"label": {