Include module list in global-config node when exporting flows

This commit is contained in:
Nick O'Leary
2024-03-08 15:52:47 +00:00
parent 80e60538e2
commit 6d5948b56e
5 changed files with 47 additions and 12 deletions

View File

@@ -11,12 +11,13 @@
RED.nodes.registerType('global-config',{
category: 'config',
defaults: {
name: { value: "" },
env: { value: [] },
modules: { value: {} }
},
credentials: {
map: { type: "map" }
},
label: 'global-config',
oneditprepare: function() {
$('#node-input-edit-env-var').on('click', function(evt) {
RED.actions.invoke('core:show-user-settings', 'envvar')