diff --git a/packages/strapi-plugin-upload/admin/src/components/Card/index.js b/packages/strapi-plugin-upload/admin/src/components/Card/index.js
index 3f2b51ecfb..7757c17275 100644
--- a/packages/strapi-plugin-upload/admin/src/components/Card/index.js
+++ b/packages/strapi-plugin-upload/admin/src/components/Card/index.js
@@ -51,13 +51,21 @@ const Card = ({
{children}
-
- {!withoutFileInfo && name}
- {!withoutFileInfo && }
-
-
- {!withoutFileInfo && `${getExtension(fileType)} - ${fileSize}`}
-
+
+ {!withoutFileInfo ? (
+ <>
+
+ {name}
+
+
+
+ {!withoutFileInfo && `${getExtension(fileType)} - ${fileSize}`}
+
+ >
+ ) : (
+
+ )}
+
{hasError && {errorMessage}}
);