forked from jsnbuchanan/crowd-funder-for-time-pwa
some fixes to the gifted-dialog logic
This commit is contained in:
@@ -1025,7 +1025,6 @@ export default class GiftedDialog extends Vue {
|
|||||||
|
|
||||||
selectProject(project: PlanData) {
|
selectProject(project: PlanData) {
|
||||||
this.giver = {
|
this.giver = {
|
||||||
did: project.handleId,
|
|
||||||
name: project.name,
|
name: project.name,
|
||||||
image: project.image,
|
image: project.image,
|
||||||
handleId: project.handleId,
|
handleId: project.handleId,
|
||||||
@@ -1054,7 +1053,7 @@ export default class GiftedDialog extends Vue {
|
|||||||
|
|
||||||
selectRecipientProject(project: PlanData) {
|
selectRecipientProject(project: PlanData) {
|
||||||
this.receiver = {
|
this.receiver = {
|
||||||
did: project.handleId,
|
// no did, because it's a project
|
||||||
name: project.name,
|
name: project.name,
|
||||||
image: project.image,
|
image: project.image,
|
||||||
handleId: project.handleId,
|
handleId: project.handleId,
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ export default class ContactGiftingView extends Vue {
|
|||||||
// Preserve the existing giver from the context
|
// Preserve the existing giver from the context
|
||||||
if (this.giverEntityType === "project") {
|
if (this.giverEntityType === "project") {
|
||||||
giver = {
|
giver = {
|
||||||
did: this.giverProjectHandleId,
|
// no did, because it's a project
|
||||||
name: this.giverProjectName,
|
name: this.giverProjectName,
|
||||||
image: this.giverProjectImage,
|
image: this.giverProjectImage,
|
||||||
handleId: this.giverProjectHandleId,
|
handleId: this.giverProjectHandleId,
|
||||||
|
|||||||
@@ -1269,7 +1269,6 @@ export default class ProjectViewView extends Vue {
|
|||||||
`${this.name} gave to you`,
|
`${this.name} gave to you`,
|
||||||
undefined,
|
undefined,
|
||||||
undefined,
|
undefined,
|
||||||
true,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user