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:
parent
97b7b7b968
commit
1ec75035ba
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user