'minor change'

This commit is contained in:
Chris-MS-896 2020-12-22 22:11:24 -06:00
parent 1c8deb1fcc
commit 3c25788e72
2 changed files with 4 additions and 4 deletions

View File

@ -802,11 +802,11 @@ export class SettingsComponent extends React.Component<SettingsComponentProps, S
this.setState({ autoPilotThroughput: newThroughput });
private onThroughputChange = (newThroughput: number): void => {
if(newThroughput < 400) {
if (newThroughput < 400) {
return alert("The value should not small than 400");
}
}
this.setState({ throughput: newThroughput });
}
};
private onAutoPilotSelected = (isAutoPilotSelected: boolean): void =>
this.setState({ isAutoPilotSelected: isAutoPilotSelected });

View File

@ -268,7 +268,7 @@ export class ThroughputInputViewModel extends WaitsForTemplateViewModel {
};
public onThroughputCheck = (event: any) => {
if(event.value() < 400) {
if (event.value() < 400) {
window.alert("The value should not small than 400");
}
};