Skip to content
Snippets Groups Projects
Commit d653e494 authored by Tögl, Christina's avatar Tögl, Christina
Browse files

Fix file name and size for annotation view

parent 17e2fbec
No related branches found
No related tags found
No related merge requests found
Pipeline #60865 passed
......@@ -583,7 +583,7 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(DBPSignatureLitElem
<h2>${i18n.t('official-pdf-upload.annotation-view-label')}</h2>
<div class="box-header">
<div class="filename">
<strong>${this.currentFile.name}</strong> (${humanFileSize(this.currentFile !== undefined ? this.currentFile.size : 0)})
<strong>${this.currentFile.file !== undefined ? this.currentFile.file.name : ''}</strong> (${humanFileSize(this.currentFile.file !== undefined ? this.currentFile.file.size : 0)})
</div>
<button class="button is-cancel annotation"
@click="${this.hideAnnotationView}"><dbp-icon name="close" id="close-icon"></dbp-icon></button>
......
......@@ -721,7 +721,7 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(DBPSignatureLitEle
<h2>${i18n.t('qualified-pdf-upload.annotation-view-label')}</h2>
<div class="box-header">
<div class="filename">
<strong>${this.currentFile.name}</strong> (${humanFileSize(this.currentFile !== undefined ? this.currentFile.size : 0)})
<strong>${this.currentFile.file !== undefined ? this.currentFile.file.name : ''}</strong> (${humanFileSize(this.currentFile.file !== undefined ? this.currentFile.file.size : 0)})
</div>
<button class="button is-cancel annotation"
@click="${this.hideAnnotationView}"><dbp-icon name="close" id="close-icon"></dbp-icon></button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment