From 44c47aee129f8b5aa0e2439efadfec8408a3f938 Mon Sep 17 00:00:00 2001 From: raj6939 Date: Tue, 22 Nov 2022 00:22:09 +0530 Subject: [PATCH] temp changes in referral count --- src/components/participant/ActionInputs/Profile.vue | 4 +--- src/views/participant/Event.vue | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/participant/ActionInputs/Profile.vue b/src/components/participant/ActionInputs/Profile.vue index ffb44948..6406f6f6 100644 --- a/src/components/participant/ActionInputs/Profile.vue +++ b/src/components/participant/ActionInputs/Profile.vue @@ -31,12 +31,10 @@
{{ truncate1(referalLink,25) }}
- Valid Upto {{userReferralCount.count}} referrals - Referral link expired + Valid Upto {{userReferralCount.count}} referrals diff --git a/src/views/participant/Event.vue b/src/views/participant/Event.vue index 1bec3c32..53a90dbe 100644 --- a/src/views/participant/Event.vue +++ b/src/views/participant/Event.vue @@ -74,7 +74,8 @@ export default { externalUserId:"", userEventData: null, userReferralCount:{ - count:0 + count:0, + usageCount:0 }, userAuthData: null, eventActionsToShow: [], @@ -223,7 +224,7 @@ export default { this.eventData = { ...resp.data } - + this.userReferralCount.usageCount = this.eventData.referralUsageLimit // If it is old event then just recreating this variable using default values from config if (!this.eventData['orgData']){ this.eventData['orgData'] = {}