Fix for softAllowedMaximumThroughput issue when using sdk (#1501)
This commit is contained in:
parent
c606d95765
commit
15e8c66aa4
|
@ -133,8 +133,10 @@ export class ThroughputInputAutoPilotV3Component extends React.Component<
|
||||||
if (isDirty(this.props.maxAutoPilotThroughput, this.props.maxAutoPilotThroughputBaseline)) {
|
if (isDirty(this.props.maxAutoPilotThroughput, this.props.maxAutoPilotThroughputBaseline)) {
|
||||||
isDiscardable = true;
|
isDiscardable = true;
|
||||||
if (
|
if (
|
||||||
this.props.maxAutoPilotThroughput <= this.props.softAllowedMaximumThroughput &&
|
this.props.softAllowedMaximumThroughput
|
||||||
AutoPilotUtils.isValidAutoPilotThroughput(this.props.maxAutoPilotThroughput)
|
? this.props.maxAutoPilotThroughput <= this.props.softAllowedMaximumThroughput &&
|
||||||
|
AutoPilotUtils.isValidAutoPilotThroughput(this.props.maxAutoPilotThroughput)
|
||||||
|
: AutoPilotUtils.isValidAutoPilotThroughput(this.props.maxAutoPilotThroughput)
|
||||||
) {
|
) {
|
||||||
isSaveable = true;
|
isSaveable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue