Skip to content
Snippets Groups Projects
Commit b2053fe8 authored by Ramesh Kumar's avatar Ramesh Kumar
Browse files

TMSS-215: Updated messages in the form

parent b31031e0
No related branches found
No related tags found
1 merge request!210Resolve TMSS-215
......@@ -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>
......
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