add project groups to frontend.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-07-18 22:11:16 +02:00
parent ea01af1091
commit 83eb9862fc
29 changed files with 524 additions and 64 deletions
+3 -2
View File
@@ -24,9 +24,10 @@ type Project struct {
func (project *Project) Update(update ProjectUpdate) {
if update.GroupID != nil {
project.GroupID = update.GroupID
if *project.GroupID == "" {
if *update.GroupID == "" {
project.GroupID = nil
} else {
project.GroupID = update.GroupID
}
}
if update.Name != nil {