Wizard: Fix erroneous switch statement in ImageLink
The switch statement used to determine the image type for the Launch wizard was written incorrectly, this commit fixes it.
This commit is contained in:
parent
fb9b9ca9a6
commit
56475e9470
1 changed files with 3 additions and 1 deletions
|
|
@ -15,7 +15,9 @@ import { useGetEnvironment } from '../../Utilities/useGetEnvironment';
|
|||
|
||||
const getImageProvider = ({ imageType }) => {
|
||||
switch (imageType) {
|
||||
case 'aws' || 'ami':
|
||||
case 'aws':
|
||||
return 'aws';
|
||||
case 'ami':
|
||||
return 'aws';
|
||||
case 'azure':
|
||||
return 'azure';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue