ImagesTable: fix grey box under AMI when image build is in progress

Previously a Skeleton component was used as a placeholder for an AMI when the build was still pending.
This removes the Skeleton and returns undefined rendering the AMI as empty.
This commit is contained in:
mgold1234 2024-01-02 13:40:02 +02:00 committed by Klara Simickova
parent 1f4208bc3b
commit 262ac6d3be

View file

@ -37,11 +37,8 @@ const Ami = ({ status }: AmiPropTypes) => {
</ClipboardCopy> </ClipboardCopy>
); );
case 'failure':
return undefined;
default: default:
return <Skeleton width="12rem" />; return undefined;
} }
}; };