formatted file (#9303)

This commit is contained in:
Aditya Bist
2020-02-24 11:20:36 -08:00
committed by GitHub
parent 5982925ed7
commit 933cfb21ef

View File

@@ -215,8 +215,7 @@ export class OperatorDialog extends AgentDialog<OperatorData> {
this.pagerFridayCheckBox = view.modelBuilder.checkBox() this.pagerFridayCheckBox = view.modelBuilder.checkBox()
.withProperties({ .withProperties({
label: OperatorDialog.PagerFridayCheckBoxLabel, label: OperatorDialog.PagerFridayCheckBoxLabel
width: 80
}).component(); }).component();
this.pagerFridayCheckBox.onChanged(() => { this.pagerFridayCheckBox.onChanged(() => {
if (this.pagerFridayCheckBox.checked) { if (this.pagerFridayCheckBox.checked) {
@@ -241,8 +240,7 @@ export class OperatorDialog extends AgentDialog<OperatorData> {
this.pagerSaturdayCheckBox = view.modelBuilder.checkBox() this.pagerSaturdayCheckBox = view.modelBuilder.checkBox()
.withProperties({ .withProperties({
label: OperatorDialog.PagerSaturdayCheckBoxLabel, label: OperatorDialog.PagerSaturdayCheckBoxLabel
width: 80
}).component(); }).component();
this.pagerSaturdayCheckBox.onChanged(() => { this.pagerSaturdayCheckBox.onChanged(() => {
@@ -288,8 +286,7 @@ export class OperatorDialog extends AgentDialog<OperatorData> {
this.pagerSundayCheckBox = view.modelBuilder.checkBox() this.pagerSundayCheckBox = view.modelBuilder.checkBox()
.withProperties({ .withProperties({
label: OperatorDialog.PagerSundayCheckBoxLabel, label: OperatorDialog.PagerSundayCheckBoxLabel
width: 80
}).component(); }).component();
this.pagerSundayCheckBox.onChanged(() => { this.pagerSundayCheckBox.onChanged(() => {
@@ -359,18 +356,19 @@ export class OperatorDialog extends AgentDialog<OperatorData> {
}, { }, {
component: this.pagerThursdayCheckBox, component: this.pagerThursdayCheckBox,
title: '' title: ''
}, {
component: pagerFridayCheckboxContainer,
title: ''
}, {
component: pagerSaturdayCheckboxContainer,
title: ''
}, {
component: pagerSundayCheckboxContainer,
title: ''
}], }],
title: OperatorDialog.PagerDutyScheduleLabel title: OperatorDialog.PagerDutyScheduleLabel
}]).withLayout({ width: '100%' }).component(); }, {
component: pagerFridayCheckboxContainer,
title: ''
}, {
component: pagerSaturdayCheckboxContainer,
title: ''
}, {
component: pagerSundayCheckboxContainer,
title: ''
}
]).withLayout({ width: '100%' }).component();
await view.initializeModel(formModel); await view.initializeModel(formModel);
}); });
} }