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

close parent notification on "search for..." click

This commit is contained in:
Steve-Mcl 2022-05-02 21:24:46 +01:00
parent 1ec75035ba
commit 3f776397d1

View File

@ -387,6 +387,7 @@ RED.deploy = (function() {
text: RED._("deploy.unknownNodesButton"), text: RED._("deploy.unknownNodesButton"),
class: "pull-left", class: "pull-left",
click: function() { click: function() {
notification.close();
RED.actions.invoke("core:search","type:unknown "); RED.actions.invoke("core:search","type:unknown ");
} }
}, },
@ -487,6 +488,7 @@ RED.deploy = (function() {
text: RED._("deploy.unusedConfigNodesButton"), text: RED._("deploy.unusedConfigNodesButton"),
class: "pull-left", class: "pull-left",
click: function() { click: function() {
notification.close();
RED.actions.invoke("core:search","is:config is:unused "); RED.actions.invoke("core:search","is:config is:unused ");
} }
}, },