fix stalled save in AB caused by no _labelNode / label set

This commit is contained in:
ralf 2022-07-27 12:10:39 +02:00
parent c12ce8e302
commit 1b9e2367e1

View File

@ -162,7 +162,7 @@ export class Et2Button extends Et2InputWidget(SlButton)
get label()
{
return this._labelNode.textContent.trim();
return this._labelNode?.textContent?.trim();
}
set image(new_image : string)