refactor(DocumentController): remvoe Open endpoint and its client method

This commit is contained in:
2025-08-22 21:54:25 +02:00
parent 82a63b0dae
commit 3394a580f4
5 changed files with 2 additions and 71 deletions

View File

@@ -71,17 +71,8 @@ class App {
try {
this.signatureCount = this.currentDocument.elements.length
await createAnnotations(this.currentDocument, this.Instance)
const openResponse = await this.Network.openDocument(this.envelopeKey)
if (openResponse.fatal || openResponse.error) {
return Swal.fire({
title: 'Fehler',
text: 'Umschlag konnte nicht geöffnet werden!',
icon: 'error',
})
}
} catch (e) {
console.error("Error loading annotations:", e);
}
//add click events of external buttons