1
0

fix(views): lint

This commit is contained in:
kolaente
2024-03-19 00:36:33 +01:00
parent f3cdd7d15f
commit 30b41bd143
8 changed files with 21 additions and 26 deletions

View File

@ -932,6 +932,9 @@ func (t *Task) Update(s *xorm.Session, a web.Auth) (err error) {
Where(builder.Eq{"project_id": t.ProjectID}),
).
Find(&buckets)
if err != nil {
return err
}
for _, view := range views {
// Only update the bucket when the current view