Skip to content

Commit 11bc7fa

Browse files
authored
Merge pull request #920 from roiLeo/fix/spotlightDetail/accountIsCurrentOwner
fix(spotlight): display nft currentOwner
2 parents 9f4a6b5 + 8eaf62f commit 11bc7fa

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/components/spotlight/SpotlightDetail.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@
66
v-for="nft in nfts"
77
:key="nft.id"
88
>
9-
<GalleryCard :id="nft.id" :name="nft.name" :type="type" :link="link" :metadata="nft.metadata" />
9+
<GalleryCard
10+
:id="nft.id"
11+
:name="nft.name"
12+
:type="type"
13+
:link="link"
14+
:metadata="nft.metadata"
15+
:price="nft.price"
16+
:emoteCount="nft.emoteCount"
17+
:currentOwner="nft.currentOwner"
18+
/>
1019
</div>
1120
</div>
1221
</div>

src/queries/nftSimpleListByAccount.graphql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "./simpleNft.graphql"
1+
#import "./nft.graphql"
22

33
query nftSimpleListByAccount($account: String!, $first: Int!) {
44
nFTEntities(
@@ -11,7 +11,7 @@ query nftSimpleListByAccount($account: String!, $first: Int!) {
1111
) {
1212
totalCount
1313
nodes {
14-
...simpleNft
14+
...nft
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)