mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Et2Button: fix unable to clear image once set
It would always show a broken image instead.
This commit is contained in:
parent
6ae098db93
commit
ef0a549d1c
@ -242,7 +242,7 @@ export class Et2Button extends Et2InputWidget(SlotMixin(LionButton))
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
this._iconNode.src = this.__image;
|
this._iconNode.src = this.__image || "";
|
||||||
if(!this.label)
|
if(!this.label)
|
||||||
{
|
{
|
||||||
this._iconNode.classList.add('imageOnly');
|
this._iconNode.classList.add('imageOnly');
|
||||||
|
Loading…
Reference in New Issue
Block a user