fix not shown avatar image in addressbook.edit due to camelCase attribute names

This commit is contained in:
ralf 2022-07-21 22:52:35 +02:00
parent 3b1921b150
commit 62470de869

View File

@ -158,7 +158,7 @@ export class Et2Avatar extends Et2Widget(SlotMixin(SlAvatar)) implements et2_IDe
set contactId(_contactId : string)
{
let params = {};
let id = 'contactId';
let id = 'contact_id';
if (!_contactId)
{
@ -171,7 +171,7 @@ export class Et2Avatar extends Et2Widget(SlotMixin(SlAvatar)) implements et2_IDe
}
else
{
id = 'contactId';
id = 'contact_id';
_contactId = _contactId.replace('contact:', '');
}
let oldContactId = this._contactId;