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

TMSS-678: Strategy field is disabled as there is no reference to it in the model.

parent 9e17c370
No related branches found
No related tags found
1 merge request!415Resolve TMSS-678
...@@ -459,7 +459,7 @@ export class ReservationEdit extends Component { ...@@ -459,7 +459,7 @@ export class ReservationEdit extends Component {
{(this.state.errors.project && this.state.touched.project) ? this.state.errors.project : this.state.reservation.project? '': "Select Project"} {(this.state.errors.project && this.state.touched.project) ? this.state.errors.project : this.state.reservation.project? '': "Select Project"}
</label> </label>
</div> </div>
<div className="col-lg-1 col-md-1 col-sm-12"></div> {/* <div className="col-lg-1 col-md-1 col-sm-12"></div>
<label htmlFor="strategy" className="col-lg-2 col-md-2 col-sm-12">Reservation Strategy</label> <label htmlFor="strategy" className="col-lg-2 col-md-2 col-sm-12">Reservation Strategy</label>
<div className="col-lg-3 col-md-3 col-sm-12" data-testid="strategy" > <div className="col-lg-3 col-md-3 col-sm-12" data-testid="strategy" >
{this.state.reservationStrategy.id && {this.state.reservationStrategy.id &&
...@@ -471,7 +471,7 @@ export class ReservationEdit extends Component { ...@@ -471,7 +471,7 @@ export class ReservationEdit extends Component {
placeholder="Select Strategy" placeholder="Select Strategy"
disabled= {true} /> disabled= {true} />
} }
</div> </div> */}
</div> </div>
......
...@@ -174,8 +174,8 @@ export class ReservationView extends Component { ...@@ -174,8 +174,8 @@ export class ReservationView extends Component {
<div className="p-grid"> <div className="p-grid">
<label className="col-lg-2 col-md-2 col-sm-12">Project</label> <label className="col-lg-2 col-md-2 col-sm-12">Project</label>
<span className="col-lg-4 col-md-4 col-sm-12">{(this.state.reservation.project_id)?this.state.reservation.project_id:''}</span> <span className="col-lg-4 col-md-4 col-sm-12">{(this.state.reservation.project_id)?this.state.reservation.project_id:''}</span>
<label className="col-lg-2 col-md-2 col-sm-12">Reservation Strategy</label> {/* <label className="col-lg-2 col-md-2 col-sm-12">Reservation Strategy</label>
<span className="col-lg-4 col-md-4 col-sm-12">{this.state.reservation.specifications_doc.activity.name}</span> <span className="col-lg-4 col-md-4 col-sm-12">{this.state.reservation.specifications_doc.activity.name}</span> */}
</div> </div>
<div className="p-fluid"> <div className="p-fluid">
......
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