Skip to content

Commit c18b72c

Browse files
ganeshkumar1989antleblanc
authored andcommitted
fix(pci.components.project.regions.list): set properly the region (#1077)
ref: MANAGER-3036
1 parent 239ea50 commit c18b72c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/manager/modules/pci/src/components/project/regions-list/regions-list.controller.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ export default class RegionsListController {
7878

7979
onMacroChange(macro, regions) {
8080
if (regions.length === 1) {
81-
this.onRegionChange(regions[0]);
81+
[this.region] = regions;
82+
this.onRegionChange(this.region);
8283
}
8384
}
8485

0 commit comments

Comments
 (0)