diff --git a/src/components/GiftedDialog.vue b/src/components/GiftedDialog.vue index eebce841..828a6001 100644 --- a/src/components/GiftedDialog.vue +++ b/src/components/GiftedDialog.vue @@ -126,15 +126,15 @@ export default class GiftedDialog extends Vue { firstStep = true; // true = Step 1 (giver/recipient selection), false = Step 2 (amount/description) giver?: libsUtil.GiverReceiverInputInfo; // undefined means no identified giver agent offerId = ""; + projects: PlanData[] = []; prompt = ""; receiver?: libsUtil.GiverReceiverInputInfo; + stepType = "giver"; unitCode = "HUR"; visible = false; libsUtil = libsUtil; - projects: PlanData[] = []; - didInfo = didInfo; // Computed property to help debug template logic @@ -188,8 +188,6 @@ export default class GiftedDialog extends Vue { return false; } - stepType = "giver"; - async open( giver?: libsUtil.GiverReceiverInputInfo, receiver?: libsUtil.GiverReceiverInputInfo, diff --git a/src/libs/partnerServer.ts b/src/libs/partnerServer.ts index 1fa25452..1b63e490 100644 --- a/src/libs/partnerServer.ts +++ b/src/libs/partnerServer.ts @@ -4,6 +4,6 @@ export interface UserProfile { locLon?: number; locLat2?: number; locLon2?: number; - issuerDid?: string; + issuerDid: string; rowId?: string; // set on profile retrieved from server } diff --git a/src/libs/util.ts b/src/libs/util.ts index ae056fe6..d4fa8683 100644 --- a/src/libs/util.ts +++ b/src/libs/util.ts @@ -34,7 +34,7 @@ import { PlatformServiceFactory } from "../services/PlatformServiceFactory"; import { IIdentifier } from "@veramo/core"; import { DEFAULT_ROOT_DERIVATION_PATH } from "./crypto"; -// Consolidate this with src/utils/PlatformServiceMixin._parseJsonField +// Consolidate this with src/utils/PlatformServiceMixin.mapQueryResultToValues function mapQueryResultToValues( record: { columns: string[]; values: unknown[][] } | undefined, ): Array> { @@ -57,10 +57,10 @@ async function getPlatformService() { } export interface GiverReceiverInputInfo { - did?: string; + did?: string; // only for people name?: string; image?: string; - handleId?: string; + handleId?: string; // only for projects } export enum OnboardPage {