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

@@ -66,11 +66,7 @@
</li>
</ul>
<GiftedDialog
ref="customDialog"
message="Received from"
:projectId="projectId"
/>
<GiftedDialog ref="customDialog" :projectId="projectId" />
</section>
</template>
@@ -167,7 +163,12 @@ export default class ContactGiftingView extends Vue {
const recipient = this.projectId
? undefined
: { did: this.activeDid, name: "you" };
(this.$refs.customDialog as GiftedDialog).open(giver, recipient);
(this.$refs.customDialog as GiftedDialog).open(
giver,
recipient,
undefined,
"Given by " + (giver?.name || "someone not named"),
);
}
}
</script>