diff --git a/repositories/asset.ts b/repositories/asset.ts index 55bcc69c..48686c81 100644 --- a/repositories/asset.ts +++ b/repositories/asset.ts @@ -1,6 +1,7 @@ import { Repository } from 'pinia-orm' import { Asset, AssetModel } from '@/models/asset' +import { InterfaceId } from '@/types/assets' export class AssetRepository extends Repository { async loadAssets(addresses: Address[], profileAddress: Address) { @@ -100,6 +101,7 @@ export class AssetRepository extends Repository { return this.repo(AssetModel) .where('address', viewedProfile.value.receivedAssetIds) + .where('standard', (standard: InterfaceId) => standard) .get() }