mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-16 05:31:14 +01:00
Fix lint issue
This commit is contained in:
1 parent
24ea76e753
commit
99e91a692b
1 file changed
+3
-3
@@ -78,9 +78,9 @@ class TemplateTagWidget extends WidgetType {
|
||||
elt.title = this.option.invalid ? 'Not Found' : (this.option.value ?? '');
|
||||
elt.setAttribute('data-tag-type', this.option.type);
|
||||
elt.textContent =
|
||||
this.option.type === 'variable'
|
||||
? this.option.name
|
||||
: `${this.option.name}(${this.option.args.length ? '…' : ''})`;
|
||||
this.option.type === 'function'
|
||||
? `${this.option.name}(${this.option.args.length ? '…' : ''})`
|
||||
: this.option.name;
|
||||
elt.addEventListener('click', this.#clickListenerCallback);
|
||||
return elt;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user