forked from extern/egroupware
Make sure value_id is there before using it (caused a side effect on calendar entry can not be saved anymore)
This commit is contained in:
parent
9cd64b1e5b
commit
179e12ac68
@ -145,7 +145,7 @@ export class Et2LinkString extends Et2Widget(LitElement) implements et2_IDetache
|
|||||||
this._link_list = _value;
|
this._link_list = _value;
|
||||||
}
|
}
|
||||||
// List of LinkInfo stuffed into to_id - entry is not yet saved
|
// List of LinkInfo stuffed into to_id - entry is not yet saved
|
||||||
else if(typeof _value.to_id !== "string")
|
else if(_value.to_id && typeof _value.to_id !== "string")
|
||||||
{
|
{
|
||||||
this.entryId = _value.to_id;
|
this.entryId = _value.to_id;
|
||||||
Object.keys(_value.to_id).forEach((key) =>
|
Object.keys(_value.to_id).forEach((key) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user