Calendar: Fix category missing from event tooltip

This commit is contained in:
nathan 2023-04-18 10:54:49 -06:00
parent 5a824ef25b
commit 950f069fb2

View File

@ -527,7 +527,7 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached
let options = <SelectOption[]>so.cached_server_side(<Et2Select><unknown>{ let options = <SelectOption[]>so.cached_server_side(<Et2Select><unknown>{
nodeName: "ET2-SELECT-CAT_RO", nodeName: "ET2-SELECT-CAT_RO",
egw: () => this.egw() egw: () => this.egw()
}, "select-cat", ",,,calendar", false) || []; }, "select-cat", ",,calendar", false) || [];
cat_label = options.find((o) => o.value == this.options.value.category)?.label || ""; cat_label = options.find((o) => o.value == this.options.value.category)?.label || "";
} }