mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-16 17:25:58 +00:00
Remove logic that disables save button
This commit is contained in:
parent
c606d95765
commit
63c68f80aa
@ -132,10 +132,7 @@ export class ThroughputInputAutoPilotV3Component extends React.Component<
|
|||||||
} else if (this.props.isAutoPilotSelected) {
|
} else if (this.props.isAutoPilotSelected) {
|
||||||
if (isDirty(this.props.maxAutoPilotThroughput, this.props.maxAutoPilotThroughputBaseline)) {
|
if (isDirty(this.props.maxAutoPilotThroughput, this.props.maxAutoPilotThroughputBaseline)) {
|
||||||
isDiscardable = true;
|
isDiscardable = true;
|
||||||
if (
|
if (AutoPilotUtils.isValidAutoPilotThroughput(this.props.maxAutoPilotThroughput)) {
|
||||||
this.props.maxAutoPilotThroughput <= this.props.softAllowedMaximumThroughput &&
|
|
||||||
AutoPilotUtils.isValidAutoPilotThroughput(this.props.maxAutoPilotThroughput)
|
|
||||||
) {
|
|
||||||
isSaveable = true;
|
isSaveable = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user