Started working on the visualiser
This commit is contained in:
parent
dca30cfca0
commit
03a5e5bcea
@ -21,6 +21,7 @@ import authentication from "../../frame/services/authenticationService";
|
|||||||
import { GeneralIdRef, MakeGeneralIdRef } from "../../../utils/GeneralIdRef";
|
import { GeneralIdRef, MakeGeneralIdRef } from "../../../utils/GeneralIdRef";
|
||||||
import TasksTab from "./components/TasksTab";
|
import TasksTab from "./components/TasksTab";
|
||||||
import { useFormWithGuard } from "../../../components/common/useFormRouter";
|
import { useFormWithGuard } from "../../../components/common/useFormRouter";
|
||||||
|
import VisualiserTab from "./components/VisualisetTab";
|
||||||
|
|
||||||
const WorkflowTemplateDetails: React.FC<{ editMode: boolean }> = ({
|
const WorkflowTemplateDetails: React.FC<{ editMode: boolean }> = ({
|
||||||
editMode,
|
editMode,
|
||||||
@ -193,7 +194,7 @@ const WorkflowTemplateDetails: React.FC<{ editMode: boolean }> = ({
|
|||||||
</Tab>,
|
</Tab>,
|
||||||
|
|
||||||
<Tab key="visualFlow" id="visualFlow" label={t("Visual Flow")}>
|
<Tab key="visualFlow" id="visualFlow" label={t("Visual Flow")}>
|
||||||
<div>Visual Flow editor coming soon…</div>
|
<VisualiserTab data={data} />
|
||||||
</Tab>,
|
</Tab>,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,13 @@
|
|||||||
|
import { CreateWorkflowTemplateVersion } from "../services/WorkflowTemplateService";
|
||||||
|
|
||||||
|
interface VisualiserTabProps {
|
||||||
|
data: CreateWorkflowTemplateVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
const VisualiserTab: React.FC<VisualiserTabProps> = ({ data }) => {
|
||||||
|
const tasks = data.tasks;
|
||||||
|
|
||||||
|
return <div>Visualiser</div>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default VisualiserTab;
|
||||||
Loading…
Reference in New Issue
Block a user