ImagesTable: Fix switch statement in ImageLink
This fixes an erroneous switch statement.
This commit is contained in:
parent
56475e9470
commit
1fcb1cb4b5
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue