Fix View Log job lookup: extract RowKey.value

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-06 21:51:10 +02:00
parent fdf2f0b10a
commit 666f1bd52a

View File

@@ -86,7 +86,7 @@ class RunningTasksScreen(Screen):
self.notify("No jobs to view", severity="warning") self.notify("No jobs to view", severity="warning")
return return
row_key, _ = table.coordinate_to_cell_key(table.cursor_coordinate) row_key, _ = table.coordinate_to_cell_key(table.cursor_coordinate)
job_id = str(row_key) job_id = str(row_key.value if hasattr(row_key, 'value') else row_key)
job = job_manager.get_job(job_id) job = job_manager.get_job(job_id)
if not job: if not job:
self.notify("Job not found", severity="warning") self.notify("Job not found", severity="warning")