diff --git a/packages/bbui/src/Form/Core/Signature.svelte b/packages/bbui/src/Form/Core/Signature.svelte index ab2c2bc186..b59436016f 100644 --- a/packages/bbui/src/Form/Core/Signature.svelte +++ b/packages/bbui/src/Form/Core/Signature.svelte @@ -1,5 +1,6 @@ @@ -163,7 +117,7 @@ /> {/if} - {#if signature?.url && !updated} + {#if signatureFile?.url && !updated} {/if} - {#if !editable && signature?.url} + {#if !editable && signatureFile?.url} {#if !urlFailed} { urlFailed = true }} @@ -196,20 +150,7 @@ {/if} {:else}
- + {#if editable}
@@ -254,7 +195,7 @@ max-width: 100%; } .signature.light img, - .signature.light #canvas { + .signature.light #signature-canvas { -webkit-filter: invert(100%); filter: invert(100%); } diff --git a/packages/client/package.json b/packages/client/package.json index 00f89a6445..b751a6617c 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -36,6 +36,7 @@ "dayjs": "^1.10.8", "downloadjs": "1.4.7", "html5-qrcode": "^2.2.1", + "atrament": "^4.1.0", "leaflet": "^1.7.1", "sanitize-html": "^2.7.0", "screenfull": "^6.0.1",