Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

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

Meier Lukasafca8007f191
diff --git a/packages/integrations/src/nextcloud/nextcloud.integration.ts b/packages/integrations/src/nextcloud/nextcloud.integration.ts
index a1f9a78e2..6981efffa 100644
--- a/packages/integrations/src/nextcloud/nextcloud.integration.ts
+++ b/packages/integrations/src/nextcloud/nextcloud.integration.ts
@@ -83,7 +83,8 @@ export class NextcloudIntegration extends Integration implements ICalendarIntegr
endDate,
image: null,
location: veventObject.location || null,
- indicatorColor: "#ff8600",
+ indicatorColor:
+ "color" in veventObject && typeof veventObject.color === "string" ? veventObject.color : "#ff8600",
links: [
{
href: this.url(