mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-22 16:48:30 +02:00
Fix lint issue
This commit is contained in:
@@ -78,9 +78,9 @@ class TemplateTagWidget extends WidgetType {
|
|||||||
elt.title = this.option.invalid ? 'Not Found' : (this.option.value ?? '');
|
elt.title = this.option.invalid ? 'Not Found' : (this.option.value ?? '');
|
||||||
elt.setAttribute('data-tag-type', this.option.type);
|
elt.setAttribute('data-tag-type', this.option.type);
|
||||||
elt.textContent =
|
elt.textContent =
|
||||||
this.option.type === 'variable'
|
this.option.type === 'function'
|
||||||
? this.option.name
|
? `${this.option.name}(${this.option.args.length ? '…' : ''})`
|
||||||
: `${this.option.name}(${this.option.args.length ? '…' : ''})`;
|
: this.option.name;
|
||||||
elt.addEventListener('click', this.#clickListenerCallback);
|
elt.addEventListener('click', this.#clickListenerCallback);
|
||||||
return elt;
|
return elt;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user