From e57a61916c0baaa8524d029910abf3f4885e9417 Mon Sep 17 00:00:00 2001 From: Eterna2 Date: Tue, 12 May 2020 20:00:20 +0800 Subject: [PATCH] Fix bug in #3707 - href should show full artifact content instead of preview (#3745) --- .../src/components/MinioArtifactPreview.test.tsx | 14 +++++++------- frontend/src/components/MinioArtifactPreview.tsx | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/MinioArtifactPreview.test.tsx b/frontend/src/components/MinioArtifactPreview.test.tsx index 80f0e50a6c6..b64f8590dc9 100644 --- a/frontend/src/components/MinioArtifactPreview.test.tsx +++ b/frontend/src/components/MinioArtifactPreview.test.tsx @@ -105,7 +105,7 @@ describe('MinioArtifactPreview', () => { > { > { > { > { > { > { > = ({ // TODO need to come to an agreement how to encode artifact info inside a url // namespace is currently not supported const linkText = Apis.buildArtifactUrl(storagePath); - const artifactUrl = Apis.buildReadFileUrl(storagePath, namespace, maxbytes); + const artifactUrl = Apis.buildReadFileUrl(storagePath, namespace); // Opens in new window safely // TODO use ArtifactLink instead (but it need to support namespace)