Bug fix
This commit is contained in:
parent
b0685ad4db
commit
01f0e3bc5a
@ -267,7 +267,7 @@
|
|||||||
}
|
}
|
||||||
const render = {
|
const render = {
|
||||||
issuedCertCard(details) {
|
issuedCertCard(details) {
|
||||||
const { floData, txid, name, floId, btcId, certType, time, verificationLink } = details
|
const { data, txid, name, floId, btcId, certType, time, verificationLink } = details
|
||||||
return html`
|
return html`
|
||||||
<li class="cert-card">
|
<li class="cert-card">
|
||||||
<div class="flex align-items-center space-between">
|
<div class="flex align-items-center space-between">
|
||||||
@ -290,7 +290,7 @@
|
|||||||
`;
|
`;
|
||||||
},
|
},
|
||||||
certificate(txid, downloadButton) {
|
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 paraSplitWord
|
||||||
let certificateVerification = ''
|
let certificateVerification = ''
|
||||||
switch (certType) {
|
switch (certType) {
|
||||||
@ -307,7 +307,7 @@
|
|||||||
paraSplitWord = 'participated'
|
paraSplitWord = 'participated'
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
const remarks = isNewer ? certPara : removeWordsBefore(floData, paraSplitWord)
|
const remarks = isNewer ? certPara : removeWordsBefore(data, paraSplitWord)
|
||||||
const certPdf = new window.jspdf.jsPDF({
|
const certPdf = new window.jspdf.jsPDF({
|
||||||
orientation: 'l',
|
orientation: 'l',
|
||||||
unit: 'pt',
|
unit: 'pt',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user