feat: add complete implementation of books pages
other stuff happened too
This commit is contained in:
parent
1b8af4fcb7
commit
5af5ed46a1
30 changed files with 260 additions and 306 deletions
|
@ -78,13 +78,6 @@ export const pluralize = (string, count = 0) => {
|
|||
return pluralizeBase(string, count);
|
||||
};
|
||||
|
||||
export const filterCatalogueTags = (tags) => {
|
||||
// In the case of catalogue items, the 0-index is "catalogue"
|
||||
// and the 1-index is the catalogueType. We don't need to
|
||||
// show those in the front-end.
|
||||
return filter(tags, [tags[0], tags[1]]);
|
||||
};
|
||||
|
||||
export const limit = (collection, limit = 5) => collection.slice(0, limit);
|
||||
|
||||
export const filterFavourites = (collection) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue