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

This commit is contained in:
Nick O'Leary 2024-03-13 17:08:58 +00:00 committed by GitHub
parent 64136cc565
commit d5f59307b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -631,13 +631,13 @@
const configNodes = RED.nodes.registry.getNodeDefinitions({configOnly: true, filter: (def) => def.type !== "global-config"}).map((def) => {
// create a container with with 2 rows (row 1 for the name, row 2 for the module name in smaller, lighter font)
const container = $('<div style="display: flex; flex-direction: column; justify-content: space-between; row-gap: 1px;">')
const row1Name = $('<div>').text(def.set.name)
const row1Name = $('<div>').text(def.type)
const row2Module = $('<div style="font-size: 0.8em; color: var(--red-ui-tertiary-text-color);">').text(def.set.module)
container.append(row1Name, row2Module)
return {
value: def.type,
name: def.set.name || def.type,
name: def.type,
enabled: def.set.enabled ?? true,
local: def.set.local,
title: def.set.id, // tooltip e.g. "node-red-contrib-foo/bar"