Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit a0538d6

Browse files
authored
Merge pull request #776 from prachi00/feat-swap-tabs-profile
#758 Swapping tab order in creators profile
2 parents 1d24dd8 + a8841bd commit a0538d6

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

src/views/Profile.vue

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,30 +51,6 @@
5151
:account="id"
5252
/>
5353
</b-tab-item>
54-
<b-tab-item value="collected">
55-
<template #header>
56-
{{ $t("profile.collected") }}
57-
<span class="tab-counter" v-if="totalCollected">{{ totalCollected }}</span>
58-
</template>
59-
<PaginatedCardList
60-
:id="id"
61-
:query="nftListCollected"
62-
@change="totalCollected = $event"
63-
:account="id"
64-
/>
65-
</b-tab-item>
66-
<b-tab-item value="sold">
67-
<template #header>
68-
{{ $t("profile.sold") }}
69-
<span class="tab-counter" v-if="totalSold">{{ totalSold }}</span>
70-
</template>
71-
<PaginatedCardList
72-
:id="id"
73-
:query="nftListSold"
74-
@change="totalSold = $event"
75-
:account="id"
76-
/>
77-
</b-tab-item>
7854
<b-tab-item
7955
:label="`Collections - ${totalCollections}`"
8056
value="collection"
@@ -91,6 +67,30 @@
9167
v-model="currentCollectionPage"
9268
/>
9369
</b-tab-item>
70+
<b-tab-item value="sold">
71+
<template #header>
72+
{{ $t("profile.sold") }}
73+
<span class="tab-counter" v-if="totalSold">{{ totalSold }}</span>
74+
</template>
75+
<PaginatedCardList
76+
:id="id"
77+
:query="nftListSold"
78+
@change="totalSold = $event"
79+
:account="id"
80+
/>
81+
</b-tab-item>
82+
<b-tab-item value="collected">
83+
<template #header>
84+
{{ $t("profile.collected") }}
85+
<span class="tab-counter" v-if="totalCollected">{{ totalCollected }}</span>
86+
</template>
87+
<PaginatedCardList
88+
:id="id"
89+
:query="nftListCollected"
90+
@change="totalCollected = $event"
91+
:account="id"
92+
/>
93+
</b-tab-item>
9494

9595
<!-- <b-tab-item label="Packs" value="pack">
9696
<span>TODO: Reintroduce</span>

0 commit comments

Comments
 (0)