From 5ab1aaf80c43edbf73b9f968382e48cc43fa6797 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 11 Dec 2024 14:47:12 -0700 Subject: [PATCH] Calendar: Fix viewing resource calendar could spell out resource name into CalendarOwner options --- calendar/js/CalendarOwner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/CalendarOwner.ts b/calendar/js/CalendarOwner.ts index 9d68facd31..316ef7d789 100644 --- a/calendar/js/CalendarOwner.ts +++ b/calendar/js/CalendarOwner.ts @@ -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}]); }); } /**