HomePhabricator

[Cashtab] Do not load ONESHOT offers on manage screen for partials

Description

[Cashtab] Do not load ONESHOT offers on manage screen for partials

Summary:
We get tokenIds from the activeOffersByPubKey method to help the user manage their active offers. But we can only load PARTIAL offers with the Orderbook component.

Filter activeOffersByPubKey to only manage partial offers from the partial screen. This prevents white screen failures when clicking manage from partial screen.

Test Plan: npm test, npm start, list nft and list token, go to agora screen, toggle switch, no white screen failure from minAcceptedTokens method not existing for oneshot offers

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D17116

Details

Provenance
bytesofmanAuthored on Nov 12 2024, 14:30
bytesofmanPushed on Nov 12 2024, 17:13
Reviewer
Restricted Project
Differential Revision
D17116: [Cashtab] Do not load ONESHOT offers on manage screen for partials
Parents
rABC7fbc409146b0: test: add option to speed up tx relay/mempool sync
Branches
Unknown
Tags
Unknown