diff --git a/web-app/src/App.tsx b/web-app/src/App.tsx index 168011fc..71a1cb57 100644 --- a/web-app/src/App.tsx +++ b/web-app/src/App.tsx @@ -330,7 +330,6 @@ function App() { return false; } for (const inputSource of inputSources) { - const inputFileName = fileNameFor(inputSource); console.log(`Encrypting [${inputFileName}] as ${encryptContainerType} to ${sinkType}`); switch (encryptContainerType) { @@ -533,7 +532,6 @@ function App() { return false; } for (const inputSource of inputSources) { - const dfn = decryptedFileName(fileNameFor(inputSource)); console.log( `Decrypting ${decryptContainerType} ${JSON.stringify(inputSource)} to ${sinkType} ${dfn}` @@ -662,20 +660,18 @@ function App() {
{JSON.stringify(authState?.user, null, ' ')}
); - const detailsList = inputSources.map((inputSource) => + const detailsList = inputSources.map((inputSource) => ( <>

{fileNameFor(inputSource)}

{inputSource.type == 'file' && ( <>
Content Type: {inputSource.file.type}
-
- Last Modified: {new Date(inputSource.file.lastModified).toLocaleString()} -
+
Last Modified: {new Date(inputSource.file.lastModified).toLocaleString()}
Size: {new Intl.NumberFormat().format(inputSource.file.size)} bytes
)} - ); + )); return (
@@ -707,9 +703,17 @@ function App() { ) : ( <> - +
OR
-
+
OR:
-
+