Page MenuHomePhabricator

[Cashtab] Hide Add To Contacts option if sender is a contact
ClosedPublic

Authored by kieran709 on May 27 2022, 16:51.

Details

Summary

Related to T2412. Added conditional logic to hide the Add To Contact option in TxHistory if the sender is already a contact.

Test Plan

cd web/cashtab && npm start
From TxHistory:
Click on a received Tx from a wallet that is not a contact and add the contact
Refresh the page and navigate back to TxHistory
Observe that the Add to Contacts option no longer appears for Txs received from the contact

Diff Detail

Repository
rABC Bitcoin ABC
Branch
hide-add-contact-if-contact
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19163
Build 38074: Build Diffcashtab-tests
Build 38073: arc lint + arc unit