remove redundant if clause

This commit is contained in:
ralf 2022-09-29 15:07:10 +02:00
parent d7019caec5
commit 918c0324d1

View File

@ -212,10 +212,6 @@ export class Et2Image extends Et2Widget(SlotMixin(LitElement)) implements et2_ID
{ {
this.src = this.egw().link('/index.php', src); this.src = this.egw().link('/index.php', src);
} }
else if(this.src && this.egw().image(src))
{
this.src = src;
}
else else
{ {
this.src = src; this.src = src;