Skip to content
Snippets Groups Projects
Commit beab15d5 authored by Neuber, Eugen Ramon's avatar Neuber, Eugen Ramon :speech_balloon:
Browse files

Hide *Start signing* if signing has already begun

And an ugly JS error
parent 9b94319d
Branches
No related tags found
1 merge request!1Official Signature: pdf preview and positioning
Pipeline #11634 passed
......@@ -290,7 +290,7 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitElem
this.signedFiles.push(ev.detail.json);
// this triggers the correct update() execution
this.signedFilesCount++;
const entryPoint = data.json;
const entryPoint = ev.detail.json;
this.currentFileName = entryPoint.name;
this.endSigningProcessIfQueueEmpty();
}
......@@ -841,7 +841,11 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitElem
</button>
<button @click="${() => { this.signingProcessEnabled = true; this.signingProcessActive = true; }}"
?disabled="${this.queuedFilesCount === 0}"
class="button is-right is-primary ${classMap({"is-disabled": this.isUserInterfaceDisabled()})}">
class="button is-right is-primary ${classMap(
{
"is-disabled": this.isUserInterfaceDisabled(),
hidden: this.signingProcessActive
})}">
${i18n.t('official-pdf-upload.start-signing-process-button')}
</button>
<!-- -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment