From 37a405a1f23038703ef30568e76b5bc34afbad3e Mon Sep 17 00:00:00 2001 From: Casey Date: Fri, 9 Jan 2026 05:48:12 -0600 Subject: [PATCH] fix task table select --- custom_ui/api/db/jobs.py | 2 +- frontend/src/components/pages/Job.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_ui/api/db/jobs.py b/custom_ui/api/db/jobs.py index 0b115a7..ac6d250 100644 --- a/custom_ui/api/db/jobs.py +++ b/custom_ui/api/db/jobs.py @@ -76,7 +76,7 @@ def get_job_task_table_data(filters={}, sortings={}, page=1, page_size=10): tableRows = [] for task in tasks: tableRow = {} - tableRow["name"] = task["name"] + tableRow["id"] = task["name"] tableRow["subject"] = task["subject"] tableRow["address"] = task.get("custom_property", "") tableRow["status"] = task.get("status", "") diff --git a/frontend/src/components/pages/Job.vue b/frontend/src/components/pages/Job.vue index 52a76c7..8cbc8a1 100644 --- a/frontend/src/components/pages/Job.vue +++ b/frontend/src/components/pages/Job.vue @@ -77,7 +77,7 @@ const taskList = ref(null); const columns = [ { label: "Task", fieldName: "subject", type: "text" }, - { label: "ID", fieldName: "name", type: "text", sortable: true, filterable: true }, + { label: "ID", fieldName: "id", type: "text", sortable: true, filterable: true }, { label: "Address", fieldname: "address", type: "text" }, { label: "Category", fieldName: "", type: "text", sortable: true, filterable: true }, { label: "Status", fieldName: "status", type: "text", sortable: true, filterable: true },