Calendar: Fix incorrect category label in event tooltip

This commit is contained in:
nathan 2022-10-13 10:25:11 -06:00
parent d457d5476a
commit e9a797acce

View File

@ -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