From 495ee37f9e211e3e47d67c5a973fad3c9402a88c Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Thu, 22 Jul 2021 09:22:56 +0200
Subject: [PATCH] Disable annotations "hard" (flag doesn't work) so we can
 deploy to production

---
 src/dbp-official-signature-pdf-upload.js  | 2 +-
 src/dbp-qualified-signature-pdf-upload.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/dbp-official-signature-pdf-upload.js b/src/dbp-official-signature-pdf-upload.js
index da4f322..daa100a 100644
--- a/src/dbp-official-signature-pdf-upload.js
+++ b/src/dbp-official-signature-pdf-upload.js
@@ -105,7 +105,7 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(DBPSignatureLitElem
             signaturePlacementInProgress: { type: Boolean, attribute: false },
             withSigBlock: { type: Boolean, attribute: false },
             isSignaturePlacement: { type: Boolean, attribute: false },
-            allowAnnotating: { type: Boolean, attribute: 'allow-annotating' },
+            allowAnnotating_disabled: { type: Boolean, attribute: 'allow-annotating' },
             isAnnotationViewVisible: { type: Boolean, attribute: false },
             queuedFilesAnnotations: { type: Array, attribute: false },
             queuedFilesAnnotationsCount: { type: Number, attribute: false },
diff --git a/src/dbp-qualified-signature-pdf-upload.js b/src/dbp-qualified-signature-pdf-upload.js
index 11fdd9f..f7efbe0 100644
--- a/src/dbp-qualified-signature-pdf-upload.js
+++ b/src/dbp-qualified-signature-pdf-upload.js
@@ -108,7 +108,7 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(DBPSignatureLitEle
             signaturePlacementInProgress: { type: Boolean, attribute: false },
             withSigBlock: { type: Boolean, attribute: false },
             isSignaturePlacement: { type: Boolean, attribute: false },
-            allowAnnotating: { type: Boolean, attribute: 'allow-annotating' },
+            allowAnnotating_disabled: { type: Boolean, attribute: 'allow-annotating' },
             isAnnotationViewVisible: { type: Boolean, attribute: false },
             queuedFilesAnnotations: { type: Array, attribute: false },
             queuedFilesAnnotationsCount: { type: Number, attribute: false },
-- 
GitLab