forked from jsnbuchanan/crowd-funder-for-time-pwa
remove message confusion, add project name during give-details
This commit is contained in:
@@ -125,12 +125,6 @@
|
||||
<OfferDialog ref="customOfferDialog" :projectId="this.projectId" />
|
||||
|
||||
<div v-if="activeDid">
|
||||
<GiftedDialog
|
||||
ref="customGiveDialog"
|
||||
message="Received from"
|
||||
:projectId="this.projectId"
|
||||
>
|
||||
</GiftedDialog>
|
||||
<div class="text-center">
|
||||
<p class="mt-2 mb-4 text-center">Record a contribution from:</p>
|
||||
</div>
|
||||
@@ -182,6 +176,8 @@
|
||||
>
|
||||
Show More Contacts…
|
||||
</a>
|
||||
|
||||
<GiftedDialog ref="customGiveDialog" :projectId="this.projectId" />
|
||||
</div>
|
||||
|
||||
<!-- Gifts to & from this -->
|
||||
@@ -698,7 +694,12 @@ export default class ProjectViewView extends Vue {
|
||||
}
|
||||
|
||||
openGiftDialog(contact?: GiverReceiverInputInfo) {
|
||||
(this.$refs.customGiveDialog as GiftedDialog).open(contact);
|
||||
(this.$refs.customGiveDialog as GiftedDialog).open(
|
||||
contact,
|
||||
undefined,
|
||||
undefined,
|
||||
"Given by " + (contact?.name || "someone not named"),
|
||||
);
|
||||
}
|
||||
|
||||
openOfferDialog() {
|
||||
@@ -743,6 +744,7 @@ export default class ProjectViewView extends Vue {
|
||||
giver,
|
||||
undefined,
|
||||
offer.handleId,
|
||||
"Given by " + (giver?.name || "someone not named"),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user