Update packages/node_modules/@node-red/editor-client/src/js/ui/actions.js

Oh, I'm sorry about this.

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
Hiroyasu Nishiyama
2022-01-25 21:21:39 +09:00
committed by GitHub
parent 6657b2629f
commit 2da9161f29

View File

@@ -16,7 +16,7 @@ RED.actions = (function() {
};
}
function removeAction(name) {
delete actions[name].handler;
delete actions[name];
}
function getAction(name) {
return actions[name].handler;