This commit is contained in:
Jon Herron 2022-10-12 15:44:20 -04:00
parent 307e303463
commit 15ace6d680
2 changed files with 4 additions and 3 deletions

View File

@ -235,7 +235,6 @@ export default function ProcessModelEditDiagram() {
}; };
const makeApiHandler = (event: any) => { const makeApiHandler = (event: any) => {
console.log("Service Tasks Returned.")
return function fireEvent(results: any) { return function fireEvent(results: any) {
event.eventBus.fire('spiff.service_tasks.returned', { event.eventBus.fire('spiff.service_tasks.returned', {
serviceTaskOperators: results, serviceTaskOperators: results,

View File

@ -4,9 +4,9 @@ import Form from '@rjsf/core';
import { Button, Stack } from 'react-bootstrap'; import { Button, Stack } from 'react-bootstrap';
import ReactMarkdown from 'react-markdown'; import ReactMarkdown from 'react-markdown';
import remarkGfm from 'remark-gfm';
import HttpService from '../services/HttpService'; import HttpService from '../services/HttpService';
import ErrorContext from '../contexts/ErrorContext'; import ErrorContext from '../contexts/ErrorContext';
import remarkGfm from 'remark-gfm';
export default function TaskShow() { export default function TaskShow() {
const [task, setTask] = useState(null); const [task, setTask] = useState(null);
@ -149,7 +149,9 @@ export default function TaskShow() {
} }
return ( return (
<div className="markdown"> <div className="markdown">
<ReactMarkdown remarkPlugins={[remarkGfm]}>{instructions}</ReactMarkdown> <ReactMarkdown remarkPlugins={[remarkGfm]}>
{instructions}
</ReactMarkdown>
</div> </div>
); );
}; };