decentraland / decentraland/builder

[BUG] Loading collection status on CollectionsPage

Open
#2,571 0 comments 0 reactions 1 assignee Claimed by @cyaiox View on GitHub
bug
Dominant language
TypeScript
Stars
156
Forks
91
Avg merge
2d 7h
Merged PRs (30d)
31

Description

When it opens the CollectionsPage, the collection status keeps loading until the user enters the CollectionDetailsPage and fetches all the items and entities for that Collection.

![Screenshot 2023-03-24 at 10.31.12.png](https://images.zenhubusercontent.com/62b9d6aba5db8a6e9bb04b4c/1c91e235-3412-48d9-8f79-35b0bf458921)

Possible solution:
- Update the `collections/:id/items` endpoint in the builder-server to accept the param sortBy
- Fetch the latest updated item and its entity in the component CollectionStatus

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.