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:
parent
1f4208bc3b
commit
262ac6d3be
1 changed files with 1 additions and 4 deletions
|
|
@ -37,11 +37,8 @@ const Ami = ({ status }: AmiPropTypes) => {
|
||||||
</ClipboardCopy>
|
</ClipboardCopy>
|
||||||
);
|
);
|
||||||
|
|
||||||
case 'failure':
|
|
||||||
return undefined;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return <Skeleton width="12rem" />;
|
return undefined;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue