diff --git a/src/views/UserDashboardPriceList.vue b/src/views/UserDashboardPriceList.vue index 8ded114779..2284451feb 100644 --- a/src/views/UserDashboardPriceList.vue +++ b/src/views/UserDashboardPriceList.vue @@ -3,24 +3,15 @@ {{ $t('UserDashboard.MyPrices') }} - + - + {{ $t('UserDashboard.UserPriceTotal', { count: userPriceTotal }) }} - + + {{ $t('UserDashboard.Title') }} - - - - - - -

- {{ $t('Common.LatestPrices') }} -

-
@@ -46,12 +37,12 @@ import utils from '../utils.js' export default { components: { - ShareLink: defineAsyncComponent(() => import('../components/ShareLink.vue')), LoadedCountChip: defineAsyncComponent(() => import('../components/LoadedCountChip.vue')), PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue')) }, data() { return { + // data userPriceList: [], userPriceTotal: null, userPricePage: 0, @@ -62,9 +53,6 @@ export default { ...mapStores(useAppStore), username() { return this.appStore.user.username - }, - getShareLinkUrl() { - return `/users/${this.username}` } }, mounted() { diff --git a/src/views/UserDashboardProofList.vue b/src/views/UserDashboardProofList.vue index c7989d8f06..f256088916 100644 --- a/src/views/UserDashboardProofList.vue +++ b/src/views/UserDashboardProofList.vue @@ -3,25 +3,17 @@ {{ $t('UserDashboard.MyProofs') }} - - - - {{ $t('UserDashboard.UserProofTotal', { count: appStore.getUserProofTotal }) }} - - - {{ $t('UserDashboard.Title') }} - - - - -

- {{ $t('Common.LatestProofs') }} -

+ + {{ $t('UserDashboard.UserProofTotal', { count: userProofTotal }) }} + + + {{ $t('UserDashboard.Title') }} +
@@ -63,6 +55,7 @@ export default { }, data() { return { + // data userProofList: [], userProofTotal: null, userProofPage: 0,