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:
lucasgarfield 2023-05-05 13:32:49 +02:00 committed by Sanne Raymaekers
parent fb9b9ca9a6
commit 56475e9470

View file

@ -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';