Skip to content

Commit

Permalink
Frontend fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Philipiak committed Sep 3, 2024
1 parent 6400007 commit b9714ae
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ export const NodeDetailsModalSubheader = ({ node }: { node: NodeType }): ReactEl
const { components = {}, scenarioProperties } = useSelector(getProcessDefinitionData);

const docsUrl = useMemo(() => {
// we check for properties icon for dynamic url load through user config
if (scenarioProperties.docsUrl) {
return scenarioProperties.docsUrl;
}
return ProcessUtils.extractComponentDefinition(node, components)?.docsUrl;
return NodeUtils.nodeIsProperties(node)
? scenarioProperties?.docsUrl
: ProcessUtils.extractComponentDefinition(node, components)?.docsUrl;
}, [components, node, scenarioProperties]);

const nodeClass = findNodeClass(node);
Expand Down

0 comments on commit b9714ae

Please sign in to comment.