forked from trent_larson/crowd-funder-for-time-pwa
Fixed more gifting use cases
This commit is contained in:
@@ -227,11 +227,11 @@
|
|||||||
query: {
|
query: {
|
||||||
amountInput,
|
amountInput,
|
||||||
description,
|
description,
|
||||||
giverDid: giver?.did,
|
giverDid: showProjects ? undefined : giver?.did,
|
||||||
giverName: giver?.name,
|
giverName: giver?.name,
|
||||||
offerId,
|
offerId,
|
||||||
fulfillsProjectId: toProjectId,
|
fulfillsProjectId: showProjects && isFromProjectView ? giver?.handleId : toProjectId,
|
||||||
providerProjectId: fromProjectId,
|
providerProjectId: showProjects ? giver?.handleId : fromProjectId,
|
||||||
recipientDid: receiver?.did,
|
recipientDid: receiver?.did,
|
||||||
recipientName: receiver?.name,
|
recipientName: receiver?.name,
|
||||||
unitCode,
|
unitCode,
|
||||||
@@ -519,7 +519,7 @@ export default class GiftedDialog extends Vue {
|
|||||||
this.offerId,
|
this.offerId,
|
||||||
false,
|
false,
|
||||||
undefined,
|
undefined,
|
||||||
this.showProjects && !this.isFromProjectView ? this.giver?.handleId : undefined,
|
this.showProjects ? this.giver?.handleId : undefined,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!result.success) {
|
if (!result.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user