Skip to content

Commit

Permalink
🔧 variables prepareListingQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
roiLeo committed Nov 21, 2024
1 parent 82b2713 commit 671180a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/items/ItemsGrid/ItemsGridImageTokenEntity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,10 @@ const onClickShoppingCart = async () => {
const onClickListingCart = async () => {
const nftsToProcess = await getTokensNfts([props.entity])
// force array0 instead for (const nft of nftsToProcess) {}
listNftByNftWithMetadata(nftsToProcess[0], { toggle: true })
console.log(nftsToProcess)
for (const nft of nftsToProcess) {
listNftByNftWithMetadata(nft, { toggle: true })
}
}
onMounted(async () => {
Expand Down
3 changes: 3 additions & 0 deletions components/items/ItemsGrid/useNftActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ export const prepareListingQuery = (
burned_eq: false,
OR: {
price_isNull: true,
token: tokenSearchTerm,
currentOwner_eq: accountId.value,
burned_eq: false,
},
},
],
Expand Down

0 comments on commit 671180a

Please sign in to comment.