declare missing var `notification`

This commit is contained in:
Steve-Mcl 2022-05-02 21:23:36 +01:00
parent 97b7b7b968
commit 1ec75035ba
1 changed files with 2 additions and 1 deletions

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 {