Browse Source

Fixed more gifting use cases

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

8
src/components/GiftedDialog.vue

@ -227,11 +227,11 @@
query: {
amountInput,
description,
giverDid: giver?.did,
giverDid: showProjects ? undefined : giver?.did,
giverName: giver?.name,
offerId,
fulfillsProjectId: toProjectId,
providerProjectId: fromProjectId,
fulfillsProjectId: showProjects && isFromProjectView ? giver?.handleId : toProjectId,
providerProjectId: showProjects ? giver?.handleId : fromProjectId,
recipientDid: receiver?.did,
recipientName: receiver?.name,
unitCode,
@ -519,7 +519,7 @@ export default class GiftedDialog extends Vue {
this.offerId,
false,
undefined,
this.showProjects && !this.isFromProjectView ? this.giver?.handleId : undefined,
this.showProjects ? this.giver?.handleId : undefined,
);
if (!result.success) {

Loading…
Cancel
Save