diff --git a/api/js/etemplate/Et2Image/Et2Image.ts b/api/js/etemplate/Et2Image/Et2Image.ts index 2c59031c97..912f407265 100644 --- a/api/js/etemplate/Et2Image/Et2Image.ts +++ b/api/js/etemplate/Et2Image/Et2Image.ts @@ -80,21 +80,6 @@ export class Et2Image extends Et2Widget(SlotMixin(LitElement)) implements et2_ID } } - set_label(label) - { - this.label = label; - } - - set label(label) - { - this.__label = this.egw().lang(label); - } - - get label() - { - return this.__label; - } - get slots() { return { @@ -134,9 +119,9 @@ export class Et2Image extends Et2Widget(SlotMixin(LitElement)) implements et2_ID return html` ${this.egw().lang(this.label)}`; }