File tree Expand file tree Collapse file tree
javascript/tokenscript-viewer/src/components/viewers/new Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,7 +60,11 @@ export class NewViewer {
6060 if ( ! this . myTokenScripts [ id ] . tokenScript )
6161 continue ;
6262
63- this . myTokenScripts [ id ] . tokenScript . getAttributes ( ) . invalidate ( [ "walletAddress" ] ) ;
63+ this . myTokenScripts [ id ] . tokenScript . getAttributes ( ) . invalidate ( [ "walletAddress" , "ownerAddress" ] ) ;
64+ this . myTokenScripts [ id ] . tokenScript . getCards ( ) . getAllCards ( ) . forEach ( ( card ) => {
65+ card . getAttributes ( ) . invalidate ( [ "walletAddress" , "ownerAddress" ] ) ;
66+ } )
67+
6468 this . myTokenScripts [ id ] . tokenScript . getTokenMetadata ( true ) ;
6569 }
6670 } )
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ export class ViewerPopover {
7171 this . tokenScript = tokenScript ;
7272
7373 this . tokenScript . on ( "TOKENS_UPDATED" , async ( data ) => {
74- this . tokenScript . getAttributes ( ) . invalidate ( [ "walletAddress" ] )
7574 await this . loadOnboardingCards ( ) ;
7675 } , "onboarding" ) ;
7776
You can’t perform that action at this time.
0 commit comments