forked from trent_larson/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
|
||||
fulfillsProjectHandleId = this.toProjectId; // Project recipient
|
||||
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 {
|
||||
// Person-to-person gift
|
||||
fromDid = giverDid as string;
|
||||
|
||||
Reference in New Issue
Block a user