mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add wtf.Checklist to Todoist module
This commit is contained in:
parent
c235d8a566
commit
13780f0ece
@ -10,6 +10,7 @@ type Project struct {
|
|||||||
todoist.Project
|
todoist.Project
|
||||||
|
|
||||||
index int
|
index int
|
||||||
|
list wtf.Checklist
|
||||||
tasks []todoist.Task
|
tasks []todoist.Task
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -21,7 +22,9 @@ func NewProject(id int) *Project {
|
|||||||
|
|
||||||
proj := &Project{
|
proj := &Project{
|
||||||
Project: project,
|
Project: project,
|
||||||
index: -1,
|
|
||||||
|
index: -1,
|
||||||
|
list: wtf.NewChecklist(),
|
||||||
}
|
}
|
||||||
|
|
||||||
proj.loadTasks()
|
proj.loadTasks()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user