mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Add Gift Messaging to Success Modal (#14270)
* initial commit: based on group-tracking-modal branch * chore: merge group-tracking-modal * update: create functions for each success condition * chore: merge develop * chore: work on successModal.vue & remove redundant code on groupPlan.vue * update: remove `giftSubscriptionText4` from footer * fix: correct groupPlan.vue file * update: add messaging placeholder, clean up logic in a few places, update/add strings * update: rearrange modal in order of display & test existence of 'gift-subscription' paymentType * update: added props for receiverName so 'gift-subscription' works * update: add close.svg & function style: refactor CSS * update: work on gift messaging * update: work on gift messaging * update: work on gift messaging * update: let's make messages GO * update: messages are a GO, we have LIFT OFF! * fix: remove console log (oops) Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
v-show="selectedPage === 'subscription'"
|
||||
class="subscribe-option"
|
||||
:userReceivingGift="userReceivingGift"
|
||||
:receiverName="receiverName"
|
||||
/>
|
||||
|
||||
<!-- gem block -->
|
||||
@@ -648,6 +649,7 @@ export default {
|
||||
},
|
||||
},
|
||||
giftReceiver: this.receiverName,
|
||||
toUserId: this.userReceivingGift._id,
|
||||
});
|
||||
}, 500);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user