1
0

fix: compile errors

This commit is contained in:
kolaente
2023-03-14 15:35:03 +01:00
parent 93056da792
commit a21bff3ffb
5 changed files with 24 additions and 60 deletions

View File

@ -248,8 +248,9 @@ func createProjectWithEverything(s *xorm.Session, project *models.ProjectWithTas
var lb *models.Label
var exists bool
if label == nil {
continue
}lb, exists = labels[label.Title+label.HexColor]
continue
}
lb, exists = labels[label.Title+label.HexColor]
if !exists {
err = label.Create(s, user)
if err != nil {