diff --git a/hud/hud.js b/hud/hud.js index 93c7fd1..3059e5f 100644 --- a/hud/hud.js +++ b/hud/hud.js @@ -248,15 +248,12 @@ const HUD = { return this.categories[task?.TaskCategoryID]?.name || 'Task'; }, - // Get category/task type color - prefer task type color for service bell tasks + // Get task type color from tt_TaskTypes getCategoryColor(task) { - if (task && task.TaskTypeColor && task.TaskTypeColor.length > 0 && task.TaskTypeColor !== '#9C27B0') { + if (task && task.TaskTypeColor && task.TaskTypeColor.length > 0) { return task.TaskTypeColor; } - if (task && task.Color && task.Color !== '#888888') { - return task.Color; - } - return this.categories[task?.TaskCategoryID]?.color || '#888888'; + return '#9C27B0'; // Default purple }, // Handle bar press (start long press timer) diff --git a/portal/index.html b/portal/index.html index 1adfec5..65bde5c 100644 --- a/portal/index.html +++ b/portal/index.html @@ -520,20 +520,6 @@
- -
-
-

Task Categories

- -
-
-

Categories organize tasks and assign colors. Every task needs a category.

-
-
Loading...
-
-
-
-