Skip to content

Commit

Permalink
Removed verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfraser committed Aug 15, 2024
1 parent e196a24 commit d5d750b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/util/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

1 comment on commit d5d750b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are screenshots of this commit:

Screenshots using aw-server v0.12.3b18 (click to expand)

Screenshots using aw-server-rust master (click to expand)

Screenshots using aw-server-rust v0.12.3b18 (click to expand)

Please sign in to comment.