From d5d750ba9062920e2ab33ed02288008ccbf1fee0 Mon Sep 17 00:00:00 2001 From: David Fraser Date: Thu, 15 Aug 2024 15:10:32 +0200 Subject: [PATCH] Removed verbose logging --- src/util/color.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/util/color.ts b/src/util/color.ts index f2bcf3a3..39c44639 100644 --- a/src/util/color.ts +++ b/src/util/color.ts @@ -88,14 +88,11 @@ export function getColorFromCategory(c: Category, allCats: Category[]): string { // TODO: Move into vuex? export function getCategoryColorFromString(str: string): string { // TODO: Don't load classes on every call - console.log("getCategoryColorFromString", str) const allCats = loadClasses(); const c = matchString(str, allCats); if (c !== null) { - console.log("found category", c); return getColorFromCategory(c, allCats); } else { - console.log("Uncategorized"); return fallbackColor(str); } }