diff options
3 files changed, 1 insertions, 33 deletions
diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx index 2c746614..f87dbfa5 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx +++ b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx @@ -94,8 +94,6 @@ class OverviewView extends Component { description={workflow.description} modified={workflow.modified} created={workflow.created} - workflowId={workflow.id} - versionId={selectedVersion} workflowDetailsChanged={this.workflowDetailsChanged} updateWorkflow={this.onUpdateWorkflow} /> diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap index 4f9df72e..381ec4b8 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap +++ b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap @@ -94,21 +94,6 @@ exports[`OverviewView Snapshot renders correctly 1`] = ` </button> </div> </form> - <div - className="version-info-part" - > - - <div - className="label" - > - Invariant UUID - </div> - <div - className="value selectable" - > - id1 - </div> - </div> </div> <div className="separator overview-separator" diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx index f98368ca..5afa8d99 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx +++ b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx @@ -19,7 +19,6 @@ import { Input, Button } from 'sdc-ui/lib/react'; import PropTypes from 'prop-types'; import Description from 'shared/components/Description'; -import { VersionInfo, LabeledValue } from 'shared/components/VersionInfo'; class WorkflowDetails extends Component { handleSubmitForm = e => { @@ -29,13 +28,7 @@ class WorkflowDetails extends Component { }; render() { - const { - name, - workflowId, - versionId, - description, - workflowDetailsChanged - } = this.props; + const { name, description, workflowDetailsChanged } = this.props; return ( <div className="workflow-details"> <form onSubmit={this.handleSubmitForm}> @@ -57,12 +50,6 @@ class WorkflowDetails extends Component { </Button> </div> </form> - <VersionInfo> - {versionId && ( - <LabeledValue title="UUID" value={versionId} /> - )} - <LabeledValue title="Invariant UUID" value={workflowId} /> - </VersionInfo> </div> ); } @@ -74,8 +61,6 @@ WorkflowDetails.propTypes = { modified: PropTypes.string, description: PropTypes.string, defaultDescription: PropTypes.string, - workflowId: PropTypes.string, - versionId: PropTypes.string, updateWorkflow: PropTypes.func, workflowDetailsChanged: PropTypes.func }; |