Browse Source

some fixes to the gifted-dialog logic

pull/143/head
Trent Larson 8 hours ago
parent
commit
25512d3db1
  1. 3
      src/components/GiftedDialog.vue
  2. 2
      src/views/ContactGiftingView.vue
  3. 1
      src/views/ProjectViewView.vue

3
src/components/GiftedDialog.vue

@ -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,

2
src/views/ContactGiftingView.vue

@ -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,

1
src/views/ProjectViewView.vue

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

Loading…
Cancel
Save