mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
fix not shown avatar image in addressbook.edit due to camelCase attribute names
This commit is contained in:
parent
3b1921b150
commit
62470de869
@ -158,7 +158,7 @@ export class Et2Avatar extends Et2Widget(SlotMixin(SlAvatar)) implements et2_IDe
|
|||||||
set contactId(_contactId : string)
|
set contactId(_contactId : string)
|
||||||
{
|
{
|
||||||
let params = {};
|
let params = {};
|
||||||
let id = 'contactId';
|
let id = 'contact_id';
|
||||||
|
|
||||||
if (!_contactId)
|
if (!_contactId)
|
||||||
{
|
{
|
||||||
@ -171,7 +171,7 @@ export class Et2Avatar extends Et2Widget(SlotMixin(SlAvatar)) implements et2_IDe
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
id = 'contactId';
|
id = 'contact_id';
|
||||||
_contactId = _contactId.replace('contact:', '');
|
_contactId = _contactId.replace('contact:', '');
|
||||||
}
|
}
|
||||||
let oldContactId = this._contactId;
|
let oldContactId = this._contactId;
|
||||||
|
Loading…
Reference in New Issue
Block a user