From daa0fd362149e1d1261c5b30f3470e7891c9638c Mon Sep 17 00:00:00 2001 From: chuanlin2018 Date: Thu, 16 May 2019 11:55:36 -0400 Subject: [PATCH 1/2] Fixed filepath --- angular/src/app/datacart/datacart.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angular/src/app/datacart/datacart.component.html b/angular/src/app/datacart/datacart.component.html index 29a1b2d92..e8a0b68cd 100644 --- a/angular/src/app/datacart/datacart.component.html +++ b/angular/src/app/datacart/datacart.component.html @@ -88,7 +88,7 @@ - {{file.resFilePath}} + {{file.filePath}} {{file.downloadUrl}} {{file.message}} From 9bb85848e04ce039fd7f1ed4ea4fc8b82f55ed5f Mon Sep 17 00:00:00 2001 From: chuanlin2018 Date: Thu, 16 May 2019 12:53:45 -0400 Subject: [PATCH 2/2] Fixed missing datacart items --- angular/src/app/landing/description/description.component.ts | 2 +- angular/src/app/landing/landing.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/angular/src/app/landing/description/description.component.ts b/angular/src/app/landing/description/description.component.ts index d490e9261..c3198efba 100644 --- a/angular/src/app/landing/description/description.component.ts +++ b/angular/src/app/landing/description/description.component.ts @@ -160,7 +160,7 @@ export class DescriptionComponent { downloadUrl: null, description: null, filetype: null, - resId: "files", + resId: "/", filePath: "/", downloadProgress: 0, downloadInstance: null, diff --git a/angular/src/app/landing/landing.component.ts b/angular/src/app/landing/landing.component.ts index 65f50aa96..dbba89947 100644 --- a/angular/src/app/landing/landing.component.ts +++ b/angular/src/app/landing/landing.component.ts @@ -466,7 +466,7 @@ export class LandingComponent implements OnInit { downloadUrl: path.downloadURL, description: path.description, filetype: path['@type'][0], - resId: path["filepath"].replace(/^.*[\\\/]/, ''), + resId: tempId, filePath: path.filepath, downloadProgress: 0, downloadInstance: null,