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:
@@ -125,6 +125,10 @@ export default {
|
||||
type: Object,
|
||||
default () {},
|
||||
},
|
||||
receiverName: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
@@ -135,7 +139,6 @@ export default {
|
||||
type: 'subscription',
|
||||
subscription: { key: 'basic_earned' },
|
||||
},
|
||||
receiverName: '',
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
||||
Reference in New Issue
Block a user