ImagesTable: Fix switch statement in ImageLink

This fixes an erroneous switch statement.
This commit is contained in:
regexowl 2023-05-05 14:32:35 +02:00 committed by Klara Simickova
parent 56475e9470
commit 1fcb1cb4b5

View file

@ -106,7 +106,8 @@ const ImageLink = ({ imageId, isExpired, isInClonesTable }) => {
const provisioningLinkEnabled = (image) => {
switch (image.imageType) {
case 'aws' || 'ami':
case 'aws':
case 'ami':
return true;
case 'azure':
return !!azureFeatureFlag;