Skip to content

Commit

Permalink
fix distirbuted regions not displaying in linode create flow (linode#…
Browse files Browse the repository at this point in the history
…10631)

## Description 📝
Looks like there was a change made to the `isDistributedRegionSupported` function which caused a regression in the distributed regions displaying in the Linode Create flow

## How to test 🧪

### Prerequisites
(How to setup test environment)
- Ensure your account has the `new-dc-testing`, `edge_testing` and `edge_compute` customer tags

### Reproduction steps
(How to reproduce the issue, if applicable)
- Go to the remote dev environment and observe no Distributed regions in the Linode Create flow

### Verification steps
(How to verify changes)
- Either locally or in the preview link, go to the Linode Create flow. Distributed regions should be displaying again
  • Loading branch information
hana-akamai authored and nikhagra-akamai committed Jul 3, 2024
1 parent 02c3f78 commit 71eaafd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const isDistributedRegionSupported = (createType: LinodeCreateType) => {
'Distributions',
'StackScripts',
'Images',
undefined, // /linodes/create route
];
return supportedDistributedRegionTypes.includes(createType);
};
Expand Down

0 comments on commit 71eaafd

Please sign in to comment.