diff --git a/api/js/etemplate/Et2Button/Et2Button.ts b/api/js/etemplate/Et2Button/Et2Button.ts index 6f5b013d56..295973dafb 100644 --- a/api/js/etemplate/Et2Button/Et2Button.ts +++ b/api/js/etemplate/Et2Button/Et2Button.ts @@ -242,7 +242,7 @@ export class Et2Button extends Et2InputWidget(SlotMixin(LionButton)) return ''; } - this._iconNode.src = this.__image; + this._iconNode.src = this.__image || ""; if(!this.label) { this._iconNode.classList.add('imageOnly');