17337: Code cleanup
[arvados-workbench2.git] / src / services / collection-service / collection-service-files-response.ts
index 28784a8ae63db32018b19e73c22aaeb8a40869d3..325339d00bb803d6e8aebbd19e8926f3953b56e0 100644 (file)
@@ -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', '')