Skip to content

Commit

Permalink
Search results - Update javascript to use the status value from the S…
Browse files Browse the repository at this point in the history
…CSB bibdata availability response
  • Loading branch information
christinach committed Apr 9, 2024
1 parent 68bfee3 commit 409aad9
Show file tree
Hide file tree
Showing 2 changed files with 648 additions and 644 deletions.
2 changes: 1 addition & 1 deletion app/javascript/orangelight/availability.es6
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export default class AvailabilityUpdater {
availability_element;
} else {
availability_element.addClass("badge-danger");
availability_element.text('Unavailable');
availability_element.text(item_data['itemAvailabilityStatus']);
availability_element;
}
return true;
Expand Down
Loading

0 comments on commit 409aad9

Please sign in to comment.