Browse Source

Fixed more gifting use cases

pull/140/head
Jose Olarte III 7 days ago
parent
commit
eb7605991c
  1. 8
      src/components/GiftedDialog.vue

8
src/components/GiftedDialog.vue

@ -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) {

Loading…
Cancel
Save