From e9a797acce96f3704686110cbb0c5ac63ecd717e Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 13 Oct 2022 10:25:11 -0600 Subject: [PATCH] Calendar: Fix incorrect category label in event tooltip --- calendar/js/et2_widget_event.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/et2_widget_event.ts b/calendar/js/et2_widget_event.ts index e36354e4f2..c1e976e9ae 100644 --- a/calendar/js/et2_widget_event.ts +++ b/calendar/js/et2_widget_event.ts @@ -529,7 +529,7 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached nodeName: "ET2-SELECT-CAT_RO", egw: () => this.egw() }, "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 || ""; } // Activate links in description