Skip to content

Commit

Permalink
Merge pull request #75 from usnistgov/fix/ODD770-filepath-771-missing…
Browse files Browse the repository at this point in the history
…-item

Addresses ODD-770 (show file path for failing files in data cart), and ODD-711 (add all folders to the data cart).
  • Loading branch information
RayPlante authored May 20, 2019
2 parents 22713e8 + 9bb8584 commit 542c802
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion angular/src/app/datacart/datacart.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
</tr>
<tbody *ngIf="showUnhandledFiles">
<tr *ngFor="let file of bundlePlanUnhandledFiles">
<td width="30%" style="padding-left:.5em;border-bottom:1pt solid black;">{{file.resFilePath}}</td>
<td width="30%" style="padding-left:.5em;border-bottom:1pt solid black;">{{file.filePath}}</td>
<td width="30%" style="padding-left:.5em;border-bottom:1pt solid black;">{{file.downloadUrl}}
</td>
<td width="40%" style="padding-left:.5em;border-bottom:1pt solid black;">{{file.message}}</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class DescriptionComponent {
downloadUrl: null,
description: null,
filetype: null,
resId: "files",
resId: "/",
filePath: "/",
downloadProgress: 0,
downloadInstance: null,
Expand Down
2 changes: 1 addition & 1 deletion angular/src/app/landing/landing.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 542c802

Please sign in to comment.