From 01f0e3bc5af1eaa534466067e872b0cbbc435aff Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Wed, 29 Nov 2023 20:30:06 +0530 Subject: [PATCH] Bug fix --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index b99680d..6c7ebc4 100644 --- a/index.html +++ b/index.html @@ -267,7 +267,7 @@ } const render = { issuedCertCard(details) { - const { floData, txid, name, floId, btcId, certType, time, verificationLink } = details + const { data, txid, name, floId, btcId, certType, time, verificationLink } = details return html`
  • @@ -290,7 +290,7 @@ `; }, certificate(txid, downloadButton) { - const { floData, time, name, floId, certType, isNewer, certPara, verificationLink } = floGlobals.validCerts.get(txid) + const { data, time, name, floId, certType, isNewer, certPara, verificationLink } = floGlobals.validCerts.get(txid) let paraSplitWord let certificateVerification = '' switch (certType) { @@ -307,7 +307,7 @@ paraSplitWord = 'participated' break; } - const remarks = isNewer ? certPara : removeWordsBefore(floData, paraSplitWord) + const remarks = isNewer ? certPara : removeWordsBefore(data, paraSplitWord) const certPdf = new window.jspdf.jsPDF({ orientation: 'l', unit: 'pt',