Merge remote-tracking branch 'origin/main' into feature/home_page_redesign

This commit is contained in:
burnettk 2022-11-11 18:09:03 -05:00
commit 4cbdc5f8d9
2 changed files with 4 additions and 1 deletions

View File

@ -53,6 +53,7 @@ class ProcessModelInfo:
# for use with os.path.join so it can work on windows # for use with os.path.join so it can work on windows
def id_for_file_path(self) -> str: def id_for_file_path(self) -> str:
"""Id_for_file_path."""
return self.id.replace("/", os.sep) return self.id.replace("/", os.sep)

View File

@ -58,7 +58,9 @@ export default function ProcessGroupShow() {
return null; return null;
} }
const rows = processModels.map((row: ProcessModel) => { const rows = processModels.map((row: ProcessModel) => {
const modifiedProcessModelId: String = modifyProcessModelPath((row as any).id); const modifiedProcessModelId: String = modifyProcessModelPath(
(row as any).id
);
return ( return (
<tr key={row.id}> <tr key={row.id}>
<td> <td>