Fix GiftedDialog functionality

- Add description, amountInput, and unitCode parameters to GiftedDialog.open()
- Pass offer details to GiftedDialog in ProjectViewView
- Update ContactsView to handle new GiftedDialog parameters
This commit is contained in:
Jose Olarte III
2025-07-31 17:28:46 +08:00
parent 2a32903326
commit 433f3c1154
3 changed files with 21 additions and 4 deletions

View File

@@ -1234,8 +1234,17 @@ export default class ProjectViewView extends Vue {
};
(this.$refs.giveDialogToThis as GiftedDialog).open(
giver,
undefined,
{
did: offer.issuerDid,
name: this.name,
handleId: this.projectId,
image: this.imageUrl,
},
offer.handleId,
undefined,
offer.objectDescription,
offer.amount.toString(),
offer.unit,
);
}