From 63c68f80aa85cfadd67ce4a6adf9dc315c6c48ab Mon Sep 17 00:00:00 2001 From: Victor Meng Date: Fri, 23 Jun 2023 04:34:10 -0700 Subject: [PATCH] Remove logic that disables save button --- .../ThroughputInputAutoPilotV3Component.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx b/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx index 7ba21f88b..64264c22a 100644 --- a/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx +++ b/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx @@ -132,10 +132,7 @@ export class ThroughputInputAutoPilotV3Component extends React.Component< } else if (this.props.isAutoPilotSelected) { if (isDirty(this.props.maxAutoPilotThroughput, this.props.maxAutoPilotThroughputBaseline)) { isDiscardable = true; - if ( - this.props.maxAutoPilotThroughput <= this.props.softAllowedMaximumThroughput && - AutoPilotUtils.isValidAutoPilotThroughput(this.props.maxAutoPilotThroughput) - ) { + if (AutoPilotUtils.isValidAutoPilotThroughput(this.props.maxAutoPilotThroughput)) { isSaveable = true; } }