+ {unchippedFiles.map((file) => {
+ const fileIdentity = (
+ <>
+
+
{file.name}
+ >
+ );
+ if (file.downloadable !== false) {
+ return (
+
+
+
+ ctx.onFileDownload(file)}
+ />
+ }
+ >
+
+
+ Download {file.name}
+
+
+ );
+ }
+
+ return (
+
{fileIdentity}
-
-
-
- ctx.onFileDownload(file)}
- />
- }
- >
-
-
- Download {file.name}
-
+
+ );
+ })}
+ {unknownAttachments.map((attachment) => (
+
- );
- }
-
- return (
-
- {fileIdentity}
-
- );
- })}
- {unknownAttachments.map((attachment) => (
-
-
-
{attachment.name}
+ ))}
- ))}
+ ) : null}
+
+
+
) : null}
-