@ -97,6 +97,9 @@ export default class ContactGiftingView extends Vue {
description = "" ;
projectId = "" ;
prompt = "" ;
recipientProjectName = "" ;
recipientProjectImage = "" ;
recipientProjectHandleId = "" ;
async created ( ) {
try {
@ -124,7 +127,10 @@ export default class ContactGiftingView extends Vue {
) ;
}
this . projectId = ( this . $route . query [ "projectId" ] as string ) || "" ;
this . projectId = ( this . $route . query [ "recipientProjectId" ] as string ) || "" ;
this . recipientProjectName = ( this . $route . query [ "recipientProjectName" ] as string ) || "" ;
this . recipientProjectImage = ( this . $route . query [ "recipientProjectImage" ] as string ) || "" ;
this . recipientProjectHandleId = ( this . $route . query [ "recipientProjectHandleId" ] as string ) || "" ;
this . prompt = ( this . $route . query [ "prompt" ] as string ) ? ? this . prompt ;
/ / e s l i n t - d i s a b l e - n e x t - l i n e @ t y p e s c r i p t - e s l i n t / n o - e x p l i c i t - a n y
@ -146,7 +152,12 @@ export default class ContactGiftingView extends Vue {
openDialog ( giver ? : GiverReceiverInputInfo | "Unnamed" ) {
const recipient = this . projectId
? undefined
? {
did : this . recipientProjectHandleId ,
name : this . recipientProjectName ,
image : this . recipientProjectImage ,
handleId : this . recipientProjectHandleId
}
: { did : this . activeDid , name : "you" } ;
if ( giver === "Unnamed" ) {