Updates target column to display the full cloud provider name

This commit is contained in:
Jenn Giardino 2020-12-15 19:24:33 -05:00 committed by Sanne Raymaekers
parent 38b277737e
commit c6153c26b1

View file

@ -60,11 +60,14 @@ class ImagesTable extends Component {
render() {
let { composes } = this.props;
const uploadOptions = {
aws: 'Amazon Web Services'
};
const rows = Object.entries(composes).map(([ id, compose ]) => {
return {
cells: [
id,
compose.image_type,
uploadOptions[compose.image_type] ? uploadOptions[compose.image_type] : compose.image_type,
{ title: <Release release={ compose.distribution } /> },
{ title: <ImageBuildStatus status={ compose.status } /> },
''