Calendar: Fix second selected owner in sidemenu went missing

This commit is contained in:
nathan 2023-04-27 14:01:59 -06:00
parent 33063e7c9f
commit 86dac02826
2 changed files with 7 additions and 1 deletions

View File

@ -386,7 +386,7 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
if(this._activeControls)
{
// Already there
this._activeControls.remove();
return;
}
const div = document.createElement("div");

View File

@ -3698,6 +3698,12 @@ export class CalendarApp extends EgwApp
if(option.value == widget.select_options[j].value)
{
widget.select_options[j].label = option.label;
// Do not let remote options stay remote or they'll disappear
if(typeof widget.select_options[j].class == "string")
{
widget.select_options[j].class = widget.select_options[j].class.replace("remote", "")
}
found = true;
break;
}