summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-29 13:10:05 +0300
committerPaul Buetow <paul@buetow.org>2025-06-29 13:10:05 +0300
commitf71ecf2b59417dadd68a14978ad6c95d9699200e (patch)
tree9dba73ab41ea0d22dfe2bdefaf092a9b8705458e /internal
parente5f026af5979a4068055cf69ab34dea472f51950 (diff)
fix: correct field count in task detail view to make description selectable
The getDetailFieldCount() function was returning an incorrect base count of 9, forgetting to include the Project field. This made the description field unselectable in the detail view. Fixed by updating the base count to 10. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal')
-rw-r--r--internal/ui/taskdetail.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ui/taskdetail.go b/internal/ui/taskdetail.go
index 0fb8cb4..686ace4 100644
--- a/internal/ui/taskdetail.go
+++ b/internal/ui/taskdetail.go
@@ -368,8 +368,8 @@ func (m *Model) getDetailFieldCount() int {
return 0
}
- // Basic fields that are always present: ID, UUID, Status, Priority, Tags, Due, Start, Entry, Description
- count := 9
+ // Basic fields that are always present: ID, UUID, Status, Priority, Tags, Due, Start, Project, Entry, Description
+ count := 10
// Add recurrence if present
if m.currentTaskDetail.Recur != "" {