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