Skip to content

Commit

Permalink
Remove borrow button from catalog list view. (#56)
Browse files Browse the repository at this point in the history
* Remove borrow button from catalog list view.

* Update changelog.
  • Loading branch information
ray-lee authored Nov 28, 2022
1 parent 21f7500 commit 704202c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

### v0.4.2

#### Updated

- The circulation buttons (e.g. Borrow, Read) have been removed from the catalog list view.

### v0.4.1

#### Fixed
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"@nypl/dgx-svg-icons": "0.3.4",
"@thepalaceproject/web-opds-client": "0.6.4",
"@thepalaceproject/web-opds-client": "^1.0.0",
"bootstrap": "^3.3.6",
"classnames": "^2.3.1",
"draft-convert": "^2.1.5",
Expand Down
1 change: 1 addition & 0 deletions src/components/EntryPointsContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export default class EntryPointsContainer extends React.Component<

collectionCopy.facetGroups = facetGroups;
newProps.collection = collectionCopy;
newProps.showCirculationLinks = false;
const collection = React.createElement(Collection, newProps);

return (
Expand Down

0 comments on commit 704202c

Please sign in to comment.