From 5ffa18ef5da5553db20c18dd44d3e9471893d7a7 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 1afbe41..4d9e87e 100644
--- a/src/dbp-official-signature-pdf-upload.js
+++ b/src/dbp-official-signature-pdf-upload.js
@@ -104,7 +104,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 c2e1997..9918847 100644
--- a/src/dbp-qualified-signature-pdf-upload.js
+++ b/src/dbp-qualified-signature-pdf-upload.js
@@ -107,7 +107,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