Skip to content

Commit

Permalink
fix: change condition for enabling the send NFT token button (#1070)
Browse files Browse the repository at this point in the history
* changed condition for enabling the send NFT token button

* skip e2e test `should redirect to Ramp provider page`
  • Loading branch information
ost-ptk authored Nov 14, 2024
1 parent 13dfe3a commit 8062702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e-tests/popup/buy-cspr/buy-cspr.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ popup.describe('Popup UI: buy cspr', () => {
}
);

popup(
popup.skip(
'should redirect to Ramp provider page',
async ({ popupPage, unlockVault, context }) => {
await unlockVault();
Expand Down
2 changes: 1 addition & 1 deletion src/apps/popup/pages/nft-details/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const NftDetailsContent = ({
);

if (extendedDeployInfo) {
if (extendedDeployInfo.status === Status.Executed) {
if (extendedDeployInfo.status !== Status.Pending) {
dispatchToMainStore(
accountTrackingIdOfSentNftTokensRemoved(nftToken?.tracking_id!)
);
Expand Down

0 comments on commit 8062702

Please sign in to comment.