forked from jsnbuchanan/crowd-funder-for-time-pwa
fix: revert QR scanner to emit pattern after function prop binding fails
- Revert ContactInputForm QR scanner from function props back to emit pattern - Remove problematic onQRScan function prop that wasn't resolving correctly - Update ContactsView to use @qr-scan event handler instead of function prop - Maintain debugging logs to track click events and method execution - Keep other function props intact for other event handlers The function prop approach for QR scanning failed due to Vue prop resolution issues, causing the default function to be called instead of the parent handler. Reverting to emits provides reliable parent-child communication for this case.
This commit is contained in:
@@ -251,10 +251,7 @@
|
||||
import { Component, Prop, Vue, Emit } from "vue-facing-decorator";
|
||||
import { GiveRecordWithContactInfo } from "@/interfaces/give";
|
||||
import EntityIcon from "./EntityIcon.vue";
|
||||
import {
|
||||
isGiveClaimType,
|
||||
notifyWhyCannotConfirm
|
||||
} from "../libs/util";
|
||||
import { isGiveClaimType, notifyWhyCannotConfirm } from "../libs/util";
|
||||
import { containsHiddenDid, isHiddenDid } from "../libs/endorserServer";
|
||||
import ProjectIcon from "./ProjectIcon.vue";
|
||||
import { createNotifyHelpers } from "@/utils/notify";
|
||||
|
||||
Reference in New Issue
Block a user