From 0a83764a39b674d62934836e9dba1ef682fff838 Mon Sep 17 00:00:00 2001 From: Brayo Date: Fri, 4 Oct 2024 23:14:11 +0300 Subject: [PATCH] feat: revert to the default Coloring for all other watchers --- src/util/color.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/color.ts b/src/util/color.ts index fc9b1ce7..44aa00a4 100644 --- a/src/util/color.ts +++ b/src/util/color.ts @@ -141,6 +141,6 @@ export function getCategoryColorFromEvent(bucket: IBucket, e: IEvent) { } else if (bucket.type?.startsWith('general.stopwatch')) { return getCategoryColorFromString(e.data.label); } else { - return getCategoryColorFromString(e.data.title); + return getColorFromString(getTitleAttr(bucket, e)); } }