forked from jsnbuchanan/crowd-funder-for-time-pwa
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:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user