From 262ac6d3beeac4aff26f2aa3c6b7090ff3e235bb Mon Sep 17 00:00:00 2001 From: mgold1234 Date: Tue, 2 Jan 2024 13:40:02 +0200 Subject: [PATCH] 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. --- src/Components/ImagesTable/ClonesTable.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Components/ImagesTable/ClonesTable.tsx b/src/Components/ImagesTable/ClonesTable.tsx index ffa7bcd8..cb6cb41e 100644 --- a/src/Components/ImagesTable/ClonesTable.tsx +++ b/src/Components/ImagesTable/ClonesTable.tsx @@ -37,11 +37,8 @@ const Ami = ({ status }: AmiPropTypes) => { ); - case 'failure': - return undefined; - default: - return ; + return undefined; } };