Browse Source

fix statusTag

main
Gisle Aune 4 years ago
parent
commit
aed8e1d6df
  1. 2
      models/project.go

2
models/project.go

@ -48,7 +48,7 @@ func (project *Project) Update(update ProjectUpdate) {
project.Favorite = *update.Favorite
}
if project.StatusTag != nil && !project.Active {
if project.StatusTag != nil && project.Active {
project.StatusTag = nil
}
}

Loading…
Cancel
Save