Skip to content

Commit

Permalink
πŸ› Fix control bar collect button functionality for NFT Book
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Dec 9, 2023
1 parent b73996b commit a3c4ff3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/nft/class/_classId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,12 @@ export default {
},
async handleCollect() {
logTrackerEvent(this, 'NFT', 'NFTCollect(DetailsPage)', this.classId, 1);
if (this.nftIsNFTBook) {
await this.handleCollectFromEdition(this.defaultSelectedValue);
return;
}
try {
this.isCollecting = true;
await this.collectNFT();
Expand Down

0 comments on commit a3c4ff3

Please sign in to comment.