Calendar: Fix viewing resource calendar could spell out resource name into CalendarOwner options

This commit is contained in:
nathan 2024-12-11 14:47:12 -07:00
parent 2075bbe64c
commit 5ab1aaf80c

View File

@ -73,7 +73,7 @@ export class CalendarOwner extends Et2StaticSelectMixin(Et2Select)
return this.egw().request(this.egw().link(this.egw().ajaxUrl(this.egw().decodePath("calendar_owner_etemplate_widget::ajax_owner"))),
[newValueElement]).then((results) =>
{
return this._processResultCount(results);
return this._processResultCount([{value: newValueElement, label: results}]);
});
}
/**