mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-21 11:47:14 +00:00
'minor change'
This commit is contained in:
parent
1c8deb1fcc
commit
3c25788e72
@ -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 });
|
||||
|
@ -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");
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user