Browse Source

fix 500 when editing tasks.

main
Gisle Aune 3 years ago
parent
commit
2cc7d81499
  1. 2
      services/loader.go

2
services/loader.go

@ -252,7 +252,7 @@ func (l *Loader) FindProject(ctx context.Context, id string) (*models.ProjectRes
TaskIDs: taskIDs,
})
for _, log := range logs {
if log.SecondaryItemID == nil {
if log.SecondaryItemID != nil {
itemIDs.Add(*log.SecondaryItemID)
}
}

Loading…
Cancel
Save