some fixes to the gifted-dialog logic

This commit is contained in:
2025-06-29 18:18:18 -06:00
parent bf9fee7ee9
commit 25512d3db1
3 changed files with 2 additions and 4 deletions

View File

@@ -1025,7 +1025,6 @@ export default class GiftedDialog extends Vue {
selectProject(project: PlanData) {
this.giver = {
did: project.handleId,
name: project.name,
image: project.image,
handleId: project.handleId,
@@ -1054,7 +1053,7 @@ export default class GiftedDialog extends Vue {
selectRecipientProject(project: PlanData) {
this.receiver = {
did: project.handleId,
// no did, because it's a project
name: project.name,
image: project.image,
handleId: project.handleId,

View File

@@ -226,7 +226,7 @@ export default class ContactGiftingView extends Vue {
// Preserve the existing giver from the context
if (this.giverEntityType === "project") {
giver = {
did: this.giverProjectHandleId,
// no did, because it's a project
name: this.giverProjectName,
image: this.giverProjectImage,
handleId: this.giverProjectHandleId,

View File

@@ -1269,7 +1269,6 @@ export default class ProjectViewView extends Vue {
`${this.name} gave to you`,
undefined,
undefined,
true,
);
}