Skip to content

Commit

Permalink
Status is once more displayed in Job pane-title
Browse files Browse the repository at this point in the history
This is done in a slightly worrying way, by consulting both
`record.currentStatus` (as before) and `record.status` (which is what
we get in the record). I suspect this has changed in the back-end, so
we may have to revisit this (or other uses of status) once we've
figured out the back-story.

Fixes UIHAADM-120.
  • Loading branch information
MikeTaylor committed Jan 19, 2024
1 parent a57a102 commit 75d89eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Full display of a job now includes start time in header instead of current time. Fixes UIHAADM-103.
* When trying to delete an in-use step, this is rejected with a polite error message. Fixes last part of UIHAADM-9.
* When editing a Transformation Pipeline, allow re-ordering of steps. Fixes UIHAADM-108.
* Status is once more displayed in Job pane-title. Fixes UIHAADM-120.

## [2.0.0](https://github.com/folio-org/ui-harvester-admin/tree/v2.0.0) (2023-10-13)

Expand Down
2 changes: 1 addition & 1 deletion src/views/HarvestableLog/HarvestableLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const HarvestableLog = (props) => {
const record = data.record;
if (!record) return <LoadingPane />;
const title = record.name;
const status = record.currentStatus;
const status = record.currentStatus || record.status;

const shortcuts = [
{
Expand Down

0 comments on commit 75d89eb

Please sign in to comment.