Skip to content
Snippets Groups Projects
Commit d6d2b439 authored by Jörn Künsemöller's avatar Jörn Künsemöller
Browse files

TMSS-2852: remove check from PI verification page to allow contacs/PIs to click Next button

parent 0f7fc899
No related branches found
No related tags found
1 merge request!1277Resolve TMSS-2852 "Piverification"
......@@ -211,7 +211,7 @@ class PIverification extends Component {
</div>
{!this.props.readOnly && <div className="p-grid" style={{ marginTop: '20px' }}>
<div className="btn-bar">
<Button disabled={this.state.content && this.state.comment && this.state.processPermission && this.state.currentWorkflowTask.editPermissions && this.state.currentWorkflowTask.owner_username === this.user.name? false: true }
<Button disabled={this.state.content && this.state.comment && this.state.processPermission && this.state.currentWorkflowTask.owner_username === this.user.name? false: true }
label="Next" className="p-button-primary" icon="pi pi-check" onClick={ this.Next } />
</div>
<div className="btn-bar">
......@@ -221,7 +221,7 @@ class PIverification extends Component {
</div>}
{!this.props.readOnly &&
<>
{this.state.currentWorkflowTask.editPermissions && this.state.currentWorkflowTask.owner_username === this.user.name?
{this.state.currentWorkflowTask.owner_username === this.user.name?
<span></span>: <span style={{color: 'red'}}>* You can only save and proceed next if you are assigned to this workflow step</span>
}
</>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment