diff --git a/src/components/GiftedDialog.vue b/src/components/GiftedDialog.vue index 2c778169..adc2bbf8 100644 --- a/src/components/GiftedDialog.vue +++ b/src/components/GiftedDialog.vue @@ -117,7 +117,6 @@ export default class GiftedDialog extends Vue { customTitle?: string; description = ""; giver?: libsUtil.GiverReceiverInputInfo; // undefined means no identified giver agent - isTrade = false; offerId = ""; prompt = ""; receiver?: libsUtil.GiverReceiverInputInfo; @@ -301,7 +300,7 @@ export default class GiftedDialog extends Vue { unitCode, this.toProjectId, this.offerId, - this.isTrade, + false, undefined, this.fromProjectId, ); @@ -327,7 +326,7 @@ export default class GiftedDialog extends Vue { group: "alert", type: "success", title: "Success", - text: `That ${this.isTrade ? "trade" : "gift"} was recorded.`, + text: `That gift was recorded.`, }, 7000, ); diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index 35c6bb24..ec27db2d 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -650,7 +650,7 @@ export function hydrateGive( unitCode?: string, fulfillsProjectHandleId?: string, fulfillsOfferHandleId?: string, - isTrade: boolean = false, + isTrade: boolean = false, // remove, because this app is all for gifting imageUrl?: string, providerPlanHandleId?: string, lastClaimId?: string, @@ -737,7 +737,7 @@ export async function createAndSubmitGive( unitCode?: string, fulfillsProjectHandleId?: string, fulfillsOfferHandleId?: string, - isTrade: boolean = false, + isTrade: boolean = false, // remove, because this app is all for gifting imageUrl?: string, providerPlanHandleId?: string, ): Promise { diff --git a/src/views/GiftedDetailsView.vue b/src/views/GiftedDetailsView.vue index e486260a..9cabc130 100644 --- a/src/views/GiftedDetailsView.vue +++ b/src/views/GiftedDetailsView.vue @@ -215,11 +215,6 @@ -
- - -
-
; @@ -790,7 +784,7 @@ export default class GiftedDetails extends Vue { this.unitCode, fulfillsProjectId, this.offerId, - this.isTrade, + false, this.imageUrl, this.providerProjectId, ); @@ -806,7 +800,7 @@ export default class GiftedDetails extends Vue { this.unitCode, fulfillsProjectId, this.offerId, - this.isTrade, + false, this.imageUrl, this.providerProjectId, ); @@ -833,7 +827,7 @@ export default class GiftedDetails extends Vue { group: "alert", type: "success", title: "Success", - text: `That ${this.isTrade ? "trade" : "gift"} was recorded.`, + text: `That gift was recorded.`, }, 3000, ); @@ -878,7 +872,7 @@ export default class GiftedDetails extends Vue { this.unitCode, fulfillsProjectId, this.offerId, - this.isTrade, + false, this.imageUrl, this.providerProjectId, this.prevCredToEdit?.id as string,