From 15073a5905fee439e6b3908d1e805050ff10936b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kuty=C5=82a?= Date: Thu, 1 Apr 2021 22:24:32 +0200 Subject: [PATCH] 17337: Code cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- .../collection-service/collection-service-files-response.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/collection-service/collection-service-files-response.ts b/src/services/collection-service/collection-service-files-response.ts index 28784a8a..325339d0 100644 --- a/src/services/collection-service/collection-service-files-response.ts +++ b/src/services/collection-service/collection-service-files-response.ts @@ -43,11 +43,11 @@ export const extractFilesData = (document: Document) => { url, id: [ collectionUuid ? collectionUuid : '', - directory ? decodeURIComponent(parentPath) : '', + directory ? unescape(parentPath) : '', '/' + name ].join(''), name, - path: decodeURIComponent(parentPath), + path: unescape(parentPath), }; const result = getTagValue(element, 'D:resourcetype', '') -- 2.30.2