-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
💄 UI updates for Primitive NFT #790
Conversation
nwingt
commented
Nov 19, 2022
!this.sortedCollectedNFTs.length | ||
!this.isCurrentTabCreated && | ||
// NOTE: Seems computed property `this.nftClassListOfCollected` is not reflecting the actual state | ||
!this.nftClassListMap?.collected.length |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nftClassListOfCollected
not working only in here?
Does it work if this handler is in nextTick?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried, it doesn't work neither
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strange, should spend time to investigate when free
Co-authored-by: William Chong <6198816+williamchong@users.noreply.github.com>
Co-authored-by: William Chong <6198816+williamchong@users.noreply.github.com>
isWritingNFT() { | ||
return isWritingNFT(this.NFTClassMetadata); | ||
nftClassCollectionType() { | ||
return getNFTClassCollectionType(this.NFTClassMetadata); | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems some conditional checks in if (this.isWritingNFT)
should be refactored to if (this.nftClassCollectionType === nftClassCollectionType.WritingNFT)
?
like here