more debug logs w/ burnettk
This commit is contained in:
parent
819aeca9bd
commit
30e5f44bf8
|
@ -54,6 +54,9 @@ class ProcessModelInfo:
|
|||
return False
|
||||
|
||||
# for use with os.path.join so it can work on windows
|
||||
# NOTE: in APIs, ids should always have forward slashes, even in windows.
|
||||
# this is because we have to store ids in the database, and we want the same
|
||||
# database snapshot to work on any OS.
|
||||
def id_for_file_path(self) -> str:
|
||||
"""Id_for_file_path."""
|
||||
return self.id.replace("/", os.sep)
|
||||
|
|
|
@ -735,7 +735,7 @@ export default function ProcessModelEditDiagram() {
|
|||
);
|
||||
};
|
||||
const onLaunchMarkdownEditor = (
|
||||
element: any,
|
||||
_element: any,
|
||||
markdown: string,
|
||||
eventBus: any
|
||||
) => {
|
||||
|
@ -771,7 +771,7 @@ export default function ProcessModelEditDiagram() {
|
|||
};
|
||||
|
||||
const onSearchProcessModels = (
|
||||
processId: string,
|
||||
_processId: string,
|
||||
eventBus: any,
|
||||
element: any
|
||||
) => {
|
||||
|
@ -791,11 +791,13 @@ export default function ProcessModelEditDiagram() {
|
|||
};
|
||||
|
||||
const processModelSelector = () => {
|
||||
console.log('IN MODEL SELECTOR: ', processes);
|
||||
return (
|
||||
<Modal
|
||||
open={showProcessSearch}
|
||||
modalHeading="Select Process Model"
|
||||
primaryButtonText="Close"
|
||||
onRequestClose={processSearchOnClose}
|
||||
onRequestSubmit={processSearchOnClose}
|
||||
size="lg"
|
||||
>
|
||||
|
@ -964,6 +966,7 @@ export default function ProcessModelEditDiagram() {
|
|||
{scriptEditorAndTests()}
|
||||
{markdownEditor()}
|
||||
{processModelSelector()}
|
||||
{`Processes length: ${processes.length}`}
|
||||
<div id="diagram-container" />
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue