nft-armory icon indicating copy to clipboard operation
nft-armory copied to clipboard

How to display only one collection in 'View'?

Open DigitalTechnicality opened this issue 2 years ago • 0 comments

I want to only display NFTs from a certain collection. I tried adding functions like this in NFTget.ts:

function filterAgain(NFTs: INFT[]): INFT[] { return NFTs.filter( (n) => n.metadataOnchain.updateAuthority == 'HwMBMB6QpPJNyFnbVtt2UKVmJQPGnKKsMfaxNUyWahmc' )

However this did not work. Could someone give me a hint what I could do to only display one collection? Thanks in advance and leave a Solana tipping wallet if you would like.

DigitalTechnicality avatar Jan 03 '22 00:01 DigitalTechnicality