forked from trent_larson/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) {
|
||||
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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -1269,7 +1269,6 @@ export default class ProjectViewView extends Vue {
|
||||
`${this.name} gave to you`,
|
||||
undefined,
|
||||
undefined,
|
||||
true,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user