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 },