diff --git a/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx b/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx index 50f31b8b1..ecd6cada7 100644 --- a/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx @@ -61,7 +61,7 @@ export default function ProcessModelShow() { const [filesToUpload, setFilesToUpload] = useState(null); const [showFileUploadModal, setShowFileUploadModal] = useState(false); - const [processModelPublished, setProcessModelPublished] = useState(null); + const [processModelPublished, setProcessModelPublished] = useState(null); const navigate = useNavigate(); const { targetUris } = useUriListForPermissions(); @@ -210,6 +210,7 @@ export default function ProcessModelShow() { }; const publishProcessModel = () => { + setProcessModelPublished(null); HttpService.makeCallToBackend({ path: `/process-models/${modifiedProcessModelId}/publish`, successCallback: postPublish, @@ -525,14 +526,16 @@ export default function ProcessModelShow() { }; const processModelPublishMessage = () => { - console.log(`processModelPublishMessage: `); if (processModelPublished) { + const prUrl: string = processModelPublished.pr_url; return ( <>