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

Fix linter errors

parent 6d74edb8
No related branches found
No related tags found
No related merge requests found
Pipeline #18636 passed
...@@ -278,13 +278,13 @@ export class AnnotationView extends ScopedElementsMixin(DBPLitElement) { ...@@ -278,13 +278,13 @@ export class AnnotationView extends ScopedElementsMixin(DBPLitElement) {
<dbp-organization-select subscribe="lang:lang,entry-point-url:entry-point-url,auth:auth" <dbp-organization-select subscribe="lang:lang,entry-point-url:entry-point-url,auth:auth"
value="${data.organizationNumber}" value="${data.organizationNumber}"
@change=${e => { this.updateAnnotation(id, 'organizationNumber', JSON.parse(e.target.getAttribute("data-object")).alternateName); }}></dbp-organization-select> @change=${e => { this.updateAnnotation(id, 'organizationNumber', JSON.parse(e.target.getAttribute("data-object")).alternateName); }}></dbp-organization-select>
<input type="text" class="input" placeholder="${i18n.t('annotation-view.businessnumber-placeholder')}" @change=${e => { this.updateAnnotation(id, 'value', e.target.value) }}> <input type="text" class="input" placeholder="${i18n.t('annotation-view.businessnumber-placeholder')}" @change=${e => { this.updateAnnotation(id, 'value', e.target.value); }}>
<button class="button close" <button class="button close"
title="${i18n.t('annotation-view.remove-field')}" title="${i18n.t('annotation-view.remove-field')}"
@click="${() => { this.removeAnnotation(id); } }"> @click="${() => { this.removeAnnotation(id); } }">
<dbp-icon name="trash"></dbp-icon></button> <dbp-icon name="trash"></dbp-icon></button>
</div> </div>
`) `);
} else { } else {
results.push(html` results.push(html`
<div class="annotation-block-${this.key}-${id}"> <div class="annotation-block-${this.key}-${id}">
...@@ -295,7 +295,7 @@ export class AnnotationView extends ScopedElementsMixin(DBPLitElement) { ...@@ -295,7 +295,7 @@ export class AnnotationView extends ScopedElementsMixin(DBPLitElement) {
@click="${() => { this.removeAnnotation(id); } }"> @click="${() => { this.removeAnnotation(id); } }">
<dbp-icon name="trash"></dbp-icon></button> <dbp-icon name="trash"></dbp-icon></button>
</div> </div>
`) `);
} }
}); });
......
...@@ -116,7 +116,7 @@ export default class DBPSignatureLitElement extends DBPSignatureBaseLitElement { ...@@ -116,7 +116,7 @@ export default class DBPSignatureLitElement extends DBPSignatureBaseLitElement {
* *
* @param {*} key * @param {*} key
* @param {*} name * @param {*} name
* @returns * @returns shows AnnotationView
*/ */
async showAnnotationView(key, name) { async showAnnotationView(key, name) {
if (this.signingProcessEnabled) { if (this.signingProcessEnabled) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment