File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/features/clusters/upsert Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ export function ClusterForm({
208208 const firstSelectedRegion = regionNameToLatencyToRegion ?. [ firstRegion . regionName ] ?. [ firstRegion . latencyDescription ] ;
209209 if ( ! allowedRegionIds . includes ( firstSelectedRegion ?. id ) ) {
210210 const possibleRegions = regionLocations ?. filter ( r => allowedRegionIds . includes ( r . id ) ) ;
211- const regionToSelect = possibleRegions ?. find ( r => r . region === 'Global ' ) || possibleRegions ?. [ 0 ] ;
211+ const regionToSelect = possibleRegions ?. find ( r => r . region === 'US ' ) || possibleRegions ?. [ 0 ] ;
212212 if ( regionToSelect ) {
213213 form . setValue ( 'regionPlans.0.regionName' , regionToSelect . region ) ;
214214 form . setValue ( 'regionPlans.0.latencyDescription' , regionToSelect . latencyDescription ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export function calculateDefaultDeploymentPerformanceAndRegionPlans(
1313 const allowedRegionIds = planToSelect ?. allowedRegionIds ;
1414 if ( planToSelect ) {
1515 const allowedRegions = allowedRegionIds ? regionLocations . filter ( regionLocation => allowedRegionIds . includes ( regionLocation . id ) ) : regionLocations ;
16- const regionToSelect = allowedRegions . find ( regionLocation => regionLocation . region === 'Global ' ) || allowedRegions [ 0 ] ;
16+ const regionToSelect = allowedRegions . find ( regionLocation => regionLocation . region === 'US ' ) || allowedRegions [ 0 ] ;
1717 if ( regionToSelect ) {
1818 return {
1919 deploymentDescription : planToSelect . deploymentDescription ,
You can’t perform that action at this time.
0 commit comments