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

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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