mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-11 04:07:40 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8145feebc | ||
|
|
df38d15611 | ||
|
|
fee53fb020 | ||
|
|
d086e60ae5 | ||
|
|
51150d4e47 | ||
|
|
1d3cd02f9d |
@@ -566,13 +566,13 @@ export const signPdfFun = async (
|
|||||||
// for adding it in completion certificate
|
// for adding it in completion certificate
|
||||||
let getSignature;
|
let getSignature;
|
||||||
for (let item of xyPosition) {
|
for (let item of xyPosition) {
|
||||||
const typeExist = item.pos.some((data) => data?.type);
|
if (!getSignature) {
|
||||||
if (typeExist) {
|
const typeExist = item.pos.some((data) => data?.type);
|
||||||
getSignature = item.pos.find((data) => data?.type === "signature");
|
if (typeExist) {
|
||||||
break;
|
getSignature = item.pos.find((data) => data?.type === "signature");
|
||||||
} else {
|
} else {
|
||||||
getSignature = item.pos.find((data) => !data.isStamp);
|
getSignature = item.pos.find((data) => !data.isStamp);
|
||||||
break;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user