1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

declare missing var notification

This commit is contained in:
Steve-Mcl 2022-05-02 21:23:36 +01:00
parent 97b7b7b968
commit 1ec75035ba

View File

@ -477,6 +477,7 @@ RED.deploy = (function() {
RED.nodes.version(data.rev);
RED.nodes.originalFlow(nns);
if (hasUnusedConfig) {
let notification;
const opts = {
type: "success",
fixed: false,
@ -499,7 +500,7 @@ RED.deploy = (function() {
}
]
}
RED.notify(
notification = RED.notify(
'<p>' + RED._("deploy.successfulDeploy") + '</p>' +
'<p>' + RED._("deploy.unusedConfigNodes") + '</p>', opts);
} else {