Improve collections view
- Add opacity on book covers - Enlarge book covers
This commit is contained in:
@@ -215,8 +215,8 @@ func FetchAllCollections(db *gorm.DB, userId uint, limit int, offset int) ([]Col
|
||||
return collections, res.Error
|
||||
}
|
||||
for _, collectionId := range collectionIds {
|
||||
//only takes first 5 books
|
||||
queryResults, err := fetchCollectionItemBook(db, collectionId.ID, 5, 0)
|
||||
//only takes first 8 books
|
||||
queryResults, err := fetchCollectionItemBook(db, collectionId.ID, 8, 0)
|
||||
if err != nil {
|
||||
return collections, res.Error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user