ImagesTable: support additional image type labels

If image types are created that do not have a descriptive label then
default to using the image type.
This commit is contained in:
Jacob Kozol 2022-05-05 15:04:22 +02:00 committed by Sanne Raymaekers
parent acb0991ed4
commit d05e9da3d7

View file

@ -28,7 +28,7 @@ const Target = ({ composeId }) => {
target = targetOptions[compose.uploadType];
}
return <>{target}</>;
return <>{target ? target : compose.imageType}</>;
};
Target.propTypes = {