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

add show-global-env action

This commit is contained in:
Hiroyasu Nishiyama 2023-02-13 14:50:07 +09:00
parent 90d1bb0ae4
commit 2e57d80959
2 changed files with 6 additions and 1 deletions

View File

@ -1376,6 +1376,7 @@
"copy-item-url": "要素のURLをコピー", "copy-item-url": "要素のURLをコピー",
"copy-item-edit-url": "要素の編集URLをコピー", "copy-item-edit-url": "要素の編集URLをコピー",
"move-flow-to-start": "フローを先頭に移動", "move-flow-to-start": "フローを先頭に移動",
"move-flow-to-end": "フローを末尾に移動" "move-flow-to-end": "フローを末尾に移動",
"show-global-env": "大域環境変数を表示"
} }
} }

View File

@ -166,6 +166,10 @@ RED.envVar = (function() {
} }
} }
}); });
RED.actions.add("core:show-global-env", function() {
RED.userSettings.show('envvar');
});
} }
return { return {