From 679a589c25682baa7fc6242184144d5f9e76e81d Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 21 Jul 2022 12:02:14 +0200 Subject: [PATCH] Add image property in avatar into detached attributes --- api/js/etemplate/Et2Avatar/Et2Avatar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Avatar/Et2Avatar.ts b/api/js/etemplate/Et2Avatar/Et2Avatar.ts index 7a4cf12bca..416df578d0 100644 --- a/api/js/etemplate/Et2Avatar/Et2Avatar.ts +++ b/api/js/etemplate/Et2Avatar/Et2Avatar.ts @@ -387,7 +387,7 @@ export class Et2Avatar extends Et2Widget(SlotMixin(SlAvatar)) implements et2_IDe */ getDetachedAttributes(_attrs : string[]) { - _attrs.push("contact_id", "label", "href", "src"); + _attrs.push("contact_id", "label", "href", "src", "image"); } getDetachedNodes()