mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-16 11:31:04 +02:00
chore: add docs url for integration nodes
This commit is contained in:
parent
c650ccc5dd
commit
a422241517
13 changed files with 95 additions and 13 deletions
|
|
@ -597,7 +597,7 @@ export const GenericNode = memo(({ data, selected, id, type }: GenericNodeProps)
|
|||
: { source: true, target: true });
|
||||
const badge = getBadgeForSpec(spec, styleVariant);
|
||||
const Icon = spec ? resolveIcon(spec.icon) : Circle;
|
||||
const docUrl = DOC_URL_BY_SPEC[type];
|
||||
const docUrl = spec?.docs_url ?? DOC_URL_BY_SPEC[type];
|
||||
const contentLabel = spec?.properties.some((p) => p.name === "prompt")
|
||||
? "Prompt"
|
||||
: "Details";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue