drop fallback using Shelf.criteria from API if Shelf.footer.url isn't provided (original) (raw)
If there isn't a custom footer url specified for a shelf we currently build the url using an assumed base url for the endpoint, and the criteria. The same construction is already done server-side and returned in the url property - frontend should be able to rely on that instead. Less duplication and work would only need to be done in a single place if the url construction changed (or a slightly different url construction was needed e.g. for the tag shefl)