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
1 changed files with 2 additions and 0 deletions

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 ");
} }
}, },