From f87611a39d37a1e4747c14b842dc76d436a8389b Mon Sep 17 00:00:00 2001 From: vchske Date: Wed, 14 Feb 2024 09:55:45 -0800 Subject: [PATCH] Fixing manual throughput cost estimate (#1740) * Fixing manual throughput cost estimate * Fix test and prettier errors --- .../ThroughputInputAutoPilotV3Component.tsx | 2 +- ...ThroughputInputAutoPilotV3Component.test.tsx.snap | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx b/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx index 6346e8733..664ae01c7 100644 --- a/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx +++ b/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx @@ -306,7 +306,7 @@ export class ThroughputInputAutoPilotV3Component extends React.Component< }; const costElement = (): JSX.Element => { - const prices: PriceBreakdown = getRuPriceBreakdown(throughput, serverId, numberOfRegions, isMultimaster, true); + const prices: PriceBreakdown = getRuPriceBreakdown(throughput, serverId, numberOfRegions, isMultimaster, false); return ( {newThroughput && newThroughputCostElement()} diff --git a/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/__snapshots__/ThroughputInputAutoPilotV3Component.test.tsx.snap b/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/__snapshots__/ThroughputInputAutoPilotV3Component.test.tsx.snap index 6a0f9efd1..605732141 100644 --- a/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/__snapshots__/ThroughputInputAutoPilotV3Component.test.tsx.snap +++ b/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/__snapshots__/ThroughputInputAutoPilotV3Component.test.tsx.snap @@ -917,7 +917,7 @@ exports[`ThroughputInputAutoPilotV3Component spendAck checkbox visible 1`] = ` > $ - 0.012 + 0.0080 /hr $ - 0.29 + 0.19 /day $ - 8.76 + 5.84 /mo @@ -1354,7 +1354,7 @@ exports[`ThroughputInputAutoPilotV3Component throughput input visible 1`] = ` > $ - 0.012 + 0.0080 /hr $ - 0.29 + 0.19 /day $ - 8.76 + 5.84 /mo