From 1b9e2367e10ffea630e2cf1bcb0e34b72652c365 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 27 Jul 2022 12:10:39 +0200 Subject: [PATCH] fix stalled save in AB caused by no _labelNode / label set --- api/js/etemplate/Et2Button/Et2Button.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Button/Et2Button.ts b/api/js/etemplate/Et2Button/Et2Button.ts index 20db9039a7..983a652b8f 100644 --- a/api/js/etemplate/Et2Button/Et2Button.ts +++ b/api/js/etemplate/Et2Button/Et2Button.ts @@ -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)