From d845745924f3aacd976513654590730dc7ef8403 Mon Sep 17 00:00:00 2001 From: jasquat Date: Mon, 24 Apr 2023 16:34:16 -0400 Subject: [PATCH] also display the process model id in the call activity references modal w/ burnettk --- .../src/components/ReactDiagramEditor.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/spiffworkflow-frontend/src/components/ReactDiagramEditor.tsx b/spiffworkflow-frontend/src/components/ReactDiagramEditor.tsx index f42e92947..f318fb59b 100644 --- a/spiffworkflow-frontend/src/components/ReactDiagramEditor.tsx +++ b/spiffworkflow-frontend/src/components/ReactDiagramEditor.tsx @@ -19,7 +19,7 @@ import { import React, { useRef, useEffect, useState } from 'react'; // @ts-ignore -import { Button, Modal, UnorderedList, Link } from '@carbon/react'; +import { Button, ButtonSet, Modal, UnorderedList, Link } from '@carbon/react'; import 'bpmn-js/dist/assets/diagram-js.css'; import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css'; @@ -578,6 +578,7 @@ export default function ReactDiagramEditor({ return ( setShowingReferences(false)} passiveModal > @@ -591,7 +592,8 @@ export default function ReactDiagramEditor({ )}`} > {`${ref.display_name}`} - + {' '} + ({ref.process_model_id}) ))} @@ -613,7 +615,7 @@ export default function ReactDiagramEditor({ const userActionOptions = () => { if (diagramType !== 'readonly') { return ( - <> + )} - + {getReferencesButton()} + ); } return null; @@ -674,7 +677,6 @@ export default function ReactDiagramEditor({ return (
{userActionOptions()} - {getReferencesButton()} {showReferences()}
);