From e1cffcda2df5bde10eb4a6da959a2892ae0a8b72 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Wed, 17 Jan 2024 20:18:01 -0700 Subject: [PATCH] fix problem where extended screen of contacts didn't pass project --- project.task.yaml | 1 - src/views/ContactGiftingView.vue | 67 +++++++++++++++++--------------- src/views/HomeView.vue | 4 +- src/views/ProjectViewView.vue | 18 ++++++--- 4 files changed, 51 insertions(+), 39 deletions(-) diff --git a/project.task.yaml b/project.task.yaml index a102743..034c3e9 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -2,7 +2,6 @@ tasks: - Jason reported that turning notifications on from the help screen did not stay. iPhone -- check that 'show more contacts' from the contact-give-list on the project screen includes project ID - supply the projectId to the OfferDialog just like we do with the offerId - the confirm button on each give on the ProjectViewView page doesn't have all the context of the ClaimView page, so it can show sometimes inappropriately; consider consolidation diff --git a/src/views/ContactGiftingView.vue b/src/views/ContactGiftingView.vue index 475f56e..c018d58 100644 --- a/src/views/ContactGiftingView.vue +++ b/src/views/ContactGiftingView.vue @@ -20,12 +20,13 @@ - Show More Contacts… - + @@ -709,6 +709,14 @@ export default class ProjectViewView extends Vue { (this.$refs.customOfferDialog as OfferDialog).open(); } + onClickAllContactsGifting() { + localStorage.setItem("projectId", this.projectId); + const route = { + name: "contact-gives", + }; + this.$router.push(route); + } + onClickLoadClaim(jwtId: string) { const route = { path: "/claim/" + encodeURIComponent(jwtId),