From d6d2b439cfd0015f24fcafa39fbe4f1ea705ac6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20K=C3=BCnsem=C3=B6ller?= <jkuensem@physik.uni-bielefeld.de> Date: Wed, 10 Jan 2024 15:17:59 +0100 Subject: [PATCH] TMSS-2852: remove check from PI verification page to allow contacs/PIs to click Next button --- .../tmss_webapp/src/routes/Workflow/pi.verification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/pi.verification.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/pi.verification.js index 6e3094fe416..b8be8ea9141 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/pi.verification.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/pi.verification.js @@ -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> } </> -- GitLab