diff --git a/CHANGELOG.md b/CHANGELOG.md index e2dd8b736..2fd77e9b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. See [conven - - - +## 2024.02.29.0 + +### Bug Fixes + +- Clear recoil ([#461](https://github.com/juspay/hyperswitch-control-center/pull/461)) ([`8865a76`](https://github.com/juspay/hyperswitch-control-center/commit/8865a76b8ef9fb83ce63ff02bc557e4b56e6f0d1)) +- Connector type change ([#462](https://github.com/juspay/hyperswitch-control-center/pull/462)) ([`c31de0f`](https://github.com/juspay/hyperswitch-control-center/commit/c31de0f25840e0e930eb80b658f89c564246c424)) + +### Refactors + +- Business recoil value from string to typed ([#458](https://github.com/juspay/hyperswitch-control-center/pull/458)) ([`16655fb`](https://github.com/juspay/hyperswitch-control-center/commit/16655fbcd59fdf27f3e6c07c2cc49c9b3c99b8f1)) + +**Full Changelog:** [`2024.02.28.0...2024.02.29.0`](https://github.com/juspay/hyperswitch-control-center/compare/2024.02.28.0...2024.02.29.0) + +- - - + ## 2024.02.28.0 ### Features diff --git a/src/screens/Connectors/ConnectorAccountDetails.res b/src/screens/Connectors/ConnectorAccountDetails.res index 01daf89f8..db87bcf25 100644 --- a/src/screens/Connectors/ConnectorAccountDetails.res +++ b/src/screens/Connectors/ConnectorAccountDetails.res @@ -64,7 +64,13 @@ let make = (~setCurrentStep, ~setInitialValues, ~initialValues, ~isUpdateFlow, ~ // TODO: Refactor for generic case if !isUpdateFlow { - if connectorTypeFromName === Processors(PAYPAL) && featureFlagDetails.paypalAutomaticFlow { + if ( + switch connectorTypeFromName { + | Processors(PAYPAL) => true + | _ => false + } && + featureFlagDetails.paypalAutomaticFlow + ) { initialValuesToDict->Dict.set( "connector_label", initialValues diff --git a/src/screens/Connectors/ConnectorAccountDetailsHelper.res b/src/screens/Connectors/ConnectorAccountDetailsHelper.res index 07c5f3171..bfec705e5 100644 --- a/src/screens/Connectors/ConnectorAccountDetailsHelper.res +++ b/src/screens/Connectors/ConnectorAccountDetailsHelper.res @@ -288,9 +288,11 @@ module ConnectorConfigurationFields = { ~connectorLabelDetailField, ) => {