From b2053fe8609fc44ef35a7c2d3475b5d2cf860b5d Mon Sep 17 00:00:00 2001 From: Ramesh Kumar <r.kumar@redkarma.eu> Date: Fri, 4 Sep 2020 11:07:55 +0530 Subject: [PATCH] TMSS-215: Updated messages in the form --- .../frontend/tmss_webapp/src/routes/Scheduling/create.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Scheduling/create.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Scheduling/create.js index 4678e5edd5d..5aafacbe436 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Scheduling/create.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Scheduling/create.js @@ -112,7 +112,7 @@ export class SchedulingUnitCreate extends Component { //Resolve task from the strategy template const $taskRefs = await $RefParser.resolve(task); - // Identify the task specification template of every task in the template + // Identify the task specification template of every task in the strategy template const taskTemplate = _.find(this.taskTemplates, {'name': task['specifications_template']}); schema['$id'] = taskTemplate.schema['$id']; schema['$schema'] = taskTemplate.schema['$schema']; @@ -360,7 +360,7 @@ export class SchedulingUnitCreate extends Component { onChange={(e) => {this.changeProject(e.value)}} placeholder="Select Project" /> <label className={this.state.errors.project ?"error":"info"}> - {this.state.errors.project ? this.state.errors.project : "Project of the Scheduling Set"} + {this.state.errors.project ? this.state.errors.project : "Select Project to get Scheduling Sets"} </label> </div> <div className="col-lg-1 col-md-1 col-sm-12"></div> @@ -373,7 +373,7 @@ export class SchedulingUnitCreate extends Component { onChange={(e) => {this.setSchedUnitParams('scheduling_set_id',e.value)}} placeholder="Select Scheduling Set" /> <label className={this.state.errors.scheduling_set_id ?"error":"info"}> - {this.state.errors.scheduling_set_id ? this.state.errors.scheduling_set_id : ""} + {this.state.errors.scheduling_set_id ? this.state.errors.scheduling_set_id : "Scheduling Set of the Project"} </label> </div> </div> -- GitLab