feat(nextcloud): reuse color from event for indicator (#4270)

This commit is contained in:
Meier Lukas
2025-10-13 23:52:27 +02:00
committed by GitHub
parent 5c86930220
commit afca8007f1

View File

@@ -83,7 +83,8 @@ export class NextcloudIntegration extends Integration implements ICalendarIntegr
endDate, endDate,
image: null, image: null,
location: veventObject.location || null, location: veventObject.location || null,
indicatorColor: "#ff8600", indicatorColor:
"color" in veventObject && typeof veventObject.color === "string" ? veventObject.color : "#ff8600",
links: [ links: [
{ {
href: this.url( href: this.url(