diff --git a/src/views/ContactGiftingView.vue b/src/views/ContactGiftingView.vue index d2577b28..04178059 100644 --- a/src/views/ContactGiftingView.vue +++ b/src/views/ContactGiftingView.vue @@ -66,7 +66,7 @@ - + @@ -1591,7 +1591,7 @@ export default class HomeView extends Vue { * openGiftedPrompts() -> openDialog() * * @requires - * - this.$refs.customDialog + * - this.$refs.giftedDialog * - this.activeDid * * @param giver Optional contact info for giver @@ -1600,7 +1600,7 @@ export default class HomeView extends Vue { openDialog(giver?: GiverReceiverInputInfo | "Unnamed", description?: string) { if (giver === "Unnamed") { // Special case: Pass undefined to trigger Step 1, but with "Unnamed" pre-selected - (this.$refs.customDialog as GiftedDialog).open( + (this.$refs.giftedDialog as GiftedDialog).open( undefined, { did: this.activeDid, @@ -1611,9 +1611,9 @@ export default class HomeView extends Vue { description, ); // Immediately select "Unnamed" and move to Step 2 - (this.$refs.customDialog as GiftedDialog).selectGiver(); + (this.$refs.giftedDialog as GiftedDialog).selectGiver(); } else { - (this.$refs.customDialog as GiftedDialog).open( + (this.$refs.giftedDialog as GiftedDialog).open( giver, { did: this.activeDid, @@ -1837,7 +1837,7 @@ export default class HomeView extends Vue { openProjectDialog() { this.showProjectsDialog = true; - (this.$refs.customDialog as GiftedDialog).open(); + (this.$refs.giftedDialog as GiftedDialog).open(); } /**