diff --git a/src/views/GiftedDetails.vue b/src/views/GiftedDetails.vue index feccd3b..f7c2fc7 100644 --- a/src/views/GiftedDetails.vue +++ b/src/views/GiftedDetails.vue @@ -51,6 +51,10 @@ +
Sign & Send to publish to the world
@@ -139,12 +146,15 @@ export default class GiftedDetails extends Vue { this.description = this.$route.query.description as string; this.giverDid = this.$route.query.giverDid as string; this.giverName = this.$route.query.giverName as string; - this.imageUrl = localStorage.getItem("imageUrl") || ""; this.message = this.$route.query.message as string; this.offerId = this.$route.query.offerId as string; this.projectId = this.$route.query.projectId as string; this.unitCode = this.$route.query.unitCode as string; + this.imageUrl = localStorage.getItem("imageUrl") || ""; + + this.givenToUser = !this.projectId; + try { await db.open(); const settings = (await db.settings.get(MASTER_SETTINGS_KEY)) as Settings;