From 6282dbb5fc86cba69a98b434137476f9e2c1aca3 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 12 Nov 2019 13:27:23 +0100 Subject: [PATCH] contentLength as string --- client/src/components/templates/Asset/AssetFile.test.tsx | 2 +- client/src/components/templates/Asset/AssetFile.tsx | 6 ++---- client/src/routes/Publish/Files/Item.test.tsx | 4 ++-- client/src/routes/Publish/Files/Item.tsx | 2 +- client/src/routes/Publish/Files/index.test.tsx | 2 +- server/src/routes/UrlCheckRouter.ts | 6 ++---- 6 files changed, 9 insertions(+), 13 deletions(-) diff --git a/client/src/components/templates/Asset/AssetFile.test.tsx b/client/src/components/templates/Asset/AssetFile.test.tsx index b0ac99f..9c19bbb 100644 --- a/client/src/components/templates/Asset/AssetFile.test.tsx +++ b/client/src/components/templates/Asset/AssetFile.test.tsx @@ -14,7 +14,7 @@ const file = { index: 0, url: 'https://hello.com', contentType: 'application/x-zip', - contentLength: 100 + contentLength: '100' } const ddo = ({ diff --git a/client/src/components/templates/Asset/AssetFile.tsx b/client/src/components/templates/Asset/AssetFile.tsx index 2b06a5b..3d9a9a3 100644 --- a/client/src/components/templates/Asset/AssetFile.tsx +++ b/client/src/components/templates/Asset/AssetFile.tsx @@ -119,11 +119,9 @@ export default class AssetFile extends PureComponent<