Skip to content

Commit

Permalink
Feat/version details (#198)
Browse files Browse the repository at this point in the history
* feat: add workflow versions table

Signed-off-by: csirius <[email protected]>

* feat: workflow version details page

Signed-off-by: csirius <[email protected]>
Signed-off-by: Jason Porter <[email protected]>
  • Loading branch information
govalt authored and jsonporter committed Sep 17, 2021
1 parent 962fd9e commit 9a7bc63
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/Workflow/WorkflowVersionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ export interface WorkflowVersionDetailsRouteParams {
projectId: string;
domainId: string;
workflowName: string;
<<<<<<< HEAD
workflowVersion: string;
=======
>>>>>>> 9920e0a (Feat/version details (#198))
}
export type WorkflowDetailsProps = WorkflowVersionDetailsRouteParams;

Expand All @@ -20,18 +23,28 @@ export type WorkflowDetailsProps = WorkflowVersionDetailsRouteParams;
export const WorkflowVersionDetailsContainer: React.FC<WorkflowVersionDetailsRouteParams> = ({
projectId,
domainId,
<<<<<<< HEAD
workflowName,
workflowVersion
=======
workflowName
>>>>>>> 9920e0a (Feat/version details (#198))
}) => {
const id = React.useMemo<ResourceIdentifier>(
() => ({
resourceType: ResourceType.WORKFLOW,
project: projectId,
domain: domainId,
<<<<<<< HEAD
name: workflowName,
version: workflowVersion
}),
[projectId, domainId, workflowName, workflowVersion]
=======
name: workflowName
}),
[projectId, domainId, workflowName]
>>>>>>> 9920e0a (Feat/version details (#198))
);
return <EntityDetails id={id} versionView />;
};
Expand Down

0 comments on commit 9a7bc63

Please sign in to comment.