Skip to content

Commit

Permalink
Merge pull request #59 from KPMP/KPMP-5342_add_more_info_to_column
Browse files Browse the repository at this point in the history
KPMP-5342: added text for successful moves in the Move column
  • Loading branch information
zwright authored Apr 23, 2024
2 parents 671cdab + c74ce30 commit 3f02044
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/PackageDashboard/PackageTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,12 @@ class PackageTable extends Component {
let row = info.original;
// eslint-disable-next-line
if(row[PACKAGE_INFO_PROPERTY][LARGE_FILE_UPLOAD] && row.state[PACKAGE_STATE_ID] === 'METADATA_RECEIVED') {
if (row[GLOBUS_MOVE_STATUS].toLowerCase() === "processing" || row[GLOBUS_MOVE_STATUS].toLowerCase() === "waiting") {
if (row[GLOBUS_MOVE_STATUS].toLowerCase() === "processing") {
return (
<p>moving...</p>
);
}
else if (row[GLOBUS_MOVE_STATUS].toLowerCase() === "waiting") {
return (
<p>awaiting move</p>
);
Expand All @@ -139,7 +144,9 @@ class PackageTable extends Component {
);
}
else if (row[GLOBUS_MOVE_STATUS].toLowerCase() === "success") {
return '';
return (
<p>ready for review</p>
);
}
else {
return '';
Expand Down

0 comments on commit 3f02044

Please # to comment.