Skip to content

Commit

Permalink
fix collection tracked
Browse files Browse the repository at this point in the history
  • Loading branch information
zlayine committed Jul 26, 2024
1 parent 9d895f4 commit a7a76ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/factory/collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class DTOCollectionFactory {
const accounts: string[] = useAppStore().user?.walletAccounts ?? [];
let tracked = false;
if (accounts.length && useAppStore().isMultiTenant) {
tracked = !accounts.some((account) => account === collection.owner.account.publicKey);
tracked = !accounts.find((account) => account === publicKeyToAddress(collection.owner.account.publicKey));
}

return {
Expand Down

0 comments on commit a7a76ae

Please sign in to comment.