diff --git a/components/profile/PunkProfile.vue b/components/profile/PunkProfile.vue index 54e3f4a..65ac707 100644 --- a/components/profile/PunkProfile.vue +++ b/components/profile/PunkProfile.vue @@ -2,8 +2,8 @@
- +
+
+ + {{ balanceAp }} AP +
- + Profile @@ -282,6 +282,16 @@ export default { }, computed: { + getProfileLink() { + if (this.userStore.getDefaultDomain) { + return `/profile/?id=${this.userStore.getDefaultDomain}`; + } else if (this.address) { + return `/profile/?id=${this.address}`; + } else { + return `/profile`; + } + }, + getUserAp() { if (this.userStore.getCurentUserActivityPoints > 0) { return this.userStore.getCurentUserActivityPoints diff --git a/pages/nft/collection.vue b/pages/nft/collection.vue index eab2f06..cb8a697 100644 --- a/pages/nft/collection.vue +++ b/pages/nft/collection.vue @@ -250,7 +250,7 @@ :audioUrl="audioUrl" :videoUrl="videoUrl" :youtubeUrl="youtubeUrl" /> - +