Skip to content
Snippets Groups Projects
Commit 9eab0659 authored by Muthukrishnanmatriot's avatar Muthukrishnanmatriot
Browse files

TMSS-936- updated the code for week view

parent 394eed9c
No related branches found
No related tags found
2 merge requests!634WIP: COBALT commissioning delta,!545Resolve TMSS-936
......@@ -64,14 +64,10 @@ export default class DynamicScheduler extends Component {
<Growl ref={(el) => this.growl = el} />
<div className="p-field p-grid">
<label htmlFor="autodeletion" style={{marginRight: '10px', marginLeft: '50px'}}>Dynamic Scheduling : </label>
<div data-testid="autodeletion" >
<ToggleButton onLabel="On" offLabel="Off" onIcon="pi pi-check" offIcon="pi pi-times"
checked={this.state.dsStatus} onChange={(e) => this.showConfirmDialog(e)}
tooltip={`Click to ${this.state.dsStatus? "'Switch Off'" : "'Switch On'"} the Dynamic Scheduling`}
tooltipOptions={this.tooltipOptions}/>
</div>
<ToggleButton onLabel="On" offLabel="Off" onIcon="pi pi-check" offIcon="pi pi-times" style={{top: '-4px'}}
checked={this.state.dsStatus} onChange={(e) => this.showConfirmDialog(e)}
tooltip={`Click to ${this.state.dsStatus? "'Switch Off'" : "'Switch On'"} the Dynamic Scheduling`}
tooltipOptions={this.tooltipOptions}/>
</div>
<CustomDialog type="confirmation" visible={this.state.showDialog} width={'35vw'}
......
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