feat: create run ui directory
This commit is contained in:
@@ -10,7 +10,7 @@ import { useBrowserDimensionsStore } from "../../context/browserDimensions";
|
||||
import { useGlobalInfoStore } from "../../context/globalInfo";
|
||||
import { TabContext, TabPanel } from "@mui/lab";
|
||||
import { LeftSidePanelSettings } from "../molecules/LeftSidePanelSettings";
|
||||
import { RunSettings } from "../molecules/RunSettings";
|
||||
import { RunSettings } from "../run/RunSettings";
|
||||
|
||||
const fetchWorkflow = (id: string, callback: (response: WorkflowFile) => void) => {
|
||||
getActiveWorkflow(id).then(
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
import React, { useEffect } from 'react';
|
||||
import { Grid } from "@mui/material";
|
||||
import { RunsTable } from "../molecules/RunsTable";
|
||||
|
||||
interface RunsProps {
|
||||
currentInterpretationLog: string;
|
||||
abortRunHandler: () => void;
|
||||
runId: string;
|
||||
runningRecordingName: string;
|
||||
}
|
||||
|
||||
export const Runs = (
|
||||
{ currentInterpretationLog, abortRunHandler, runId, runningRecordingName }: RunsProps) => {
|
||||
|
||||
return (
|
||||
<Grid container direction="column" sx={{ padding: '30px' }}>
|
||||
<Grid item xs>
|
||||
<RunsTable
|
||||
currentInterpretationLog={currentInterpretationLog}
|
||||
abortRunHandler={abortRunHandler}
|
||||
runId={runId}
|
||||
runningRecordingName={runningRecordingName}
|
||||
/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user