From 6853950cc5d0af1670cdeb6dd29e5fd09b41033d Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Mon, 12 Jan 2026 17:03:33 -0500 Subject: [PATCH] Added a column for Project in the tasklist. --- custom_ui/api/db/tasks.py | 1 + frontend/src/components/pages/Tasks.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/custom_ui/api/db/tasks.py b/custom_ui/api/db/tasks.py index 5e611c2..5596464 100644 --- a/custom_ui/api/db/tasks.py +++ b/custom_ui/api/db/tasks.py @@ -32,6 +32,7 @@ def get_job_task_table_data(filters={}, sortings={}, page=1, page_size=10): tableRow = {} tableRow["id"] = task["name"] tableRow["subject"] = task["subject"] + tableRow["project"] = task["project"] tableRow["address"] = task.get("custom_property", "") tableRow["status"] = task.get("status", "") tableRow["type"] = task.get("type", "") diff --git a/frontend/src/components/pages/Tasks.vue b/frontend/src/components/pages/Tasks.vue index 155fda8..a773977 100644 --- a/frontend/src/components/pages/Tasks.vue +++ b/frontend/src/components/pages/Tasks.vue @@ -37,6 +37,7 @@ const isLoading = ref(false); const columns = [ { label: "Task", fieldName: "subject", type: "text", sortable: true, filterable: true }, + { label: "Project", fieldName: "project", type: "link", sortable: true }, { label: "Address", fieldName: "address", type: "text", sortable: true }, { label: "Type", fieldName: "type", type: "text", sortable: true }, { label: "Overall Status", fieldName: "status", type: "status", sortable: true },