feat: update workspace pages and global inbox
This commit is contained in:
@@ -56,6 +56,7 @@ type WorkTask struct {
|
||||
Completed bool `json:"completed"`
|
||||
Owner string `json:"owner"`
|
||||
Due string `json:"due"`
|
||||
CreatedAt string `json:"createdAt"`
|
||||
Tag string `json:"tag"`
|
||||
}
|
||||
|
||||
@@ -323,6 +324,7 @@ func (s *Service) workspaceTasks(projectID uint) ([]WorkTask, error) {
|
||||
Completed: task.Status == "done",
|
||||
Owner: owner,
|
||||
Due: displayOptionalTime(task.DueAt),
|
||||
CreatedAt: displayTime(task.CreatedAt),
|
||||
Tag: "",
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user