remove message confusion, add project name during give-details

This commit is contained in:
2024-04-21 20:31:57 -06:00
parent 4e877c15f6
commit 1df2d3ed05
8 changed files with 58 additions and 41 deletions

View File

@@ -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&hellip;
</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"),
);
}