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 { ...@@ -64,14 +64,10 @@ export default class DynamicScheduler extends Component {
<Growl ref={(el) => this.growl = el} /> <Growl ref={(el) => this.growl = el} />
<div className="p-field p-grid"> <div className="p-field p-grid">
<label htmlFor="autodeletion" style={{marginRight: '10px', marginLeft: '50px'}}>Dynamic Scheduling : </label> <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" style={{top: '-4px'}}
<ToggleButton onLabel="On" offLabel="Off" onIcon="pi pi-check" offIcon="pi pi-times" checked={this.state.dsStatus} onChange={(e) => this.showConfirmDialog(e)}
checked={this.state.dsStatus} onChange={(e) => this.showConfirmDialog(e)} tooltip={`Click to ${this.state.dsStatus? "'Switch Off'" : "'Switch On'"} the Dynamic Scheduling`}
tooltip={`Click to ${this.state.dsStatus? "'Switch Off'" : "'Switch On'"} the Dynamic Scheduling`} tooltipOptions={this.tooltipOptions}/>
tooltipOptions={this.tooltipOptions}/>
</div>
</div> </div>
<CustomDialog type="confirmation" visible={this.state.showDialog} width={'35vw'} <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.
Please register or to comment