forked from jsnbuchanan/crowd-funder-for-time-pwa
Add project-to-project case
This commit is contained in:
@@ -885,6 +885,12 @@ export default class GiftedDialog extends Vue {
|
|||||||
toDid = undefined; // No person recipient
|
toDid = undefined; // No person recipient
|
||||||
fulfillsProjectHandleId = this.toProjectId; // Project recipient
|
fulfillsProjectHandleId = this.toProjectId; // Project recipient
|
||||||
providerPlanHandleId = undefined; // No project giver
|
providerPlanHandleId = undefined; // No project giver
|
||||||
|
} else if (this.giverEntityType === "project" && this.recipientEntityType === "project") {
|
||||||
|
// Project-to-project gift
|
||||||
|
fromDid = undefined; // No person giver
|
||||||
|
toDid = undefined; // No person recipient
|
||||||
|
fulfillsProjectHandleId = this.toProjectId; // Project recipient
|
||||||
|
providerPlanHandleId = this.giver?.handleId; // Project giver
|
||||||
} else {
|
} else {
|
||||||
// Person-to-person gift
|
// Person-to-person gift
|
||||||
fromDid = giverDid as string;
|
fromDid = giverDid as string;
|
||||||
|
|||||||
Reference in New Issue
Block a user