fix(views): import
This commit is contained in:
@ -349,6 +349,7 @@ func (b *Bucket) Update(s *xorm.Session, _ web.Auth) (err error) {
|
||||
"title",
|
||||
"limit",
|
||||
"position",
|
||||
"project_view_id",
|
||||
).
|
||||
Update(b)
|
||||
return
|
||||
|
@ -422,5 +422,12 @@ func CreateDefaultViewsForProject(s *xorm.Session, project *Project, a web.Auth,
|
||||
return
|
||||
}
|
||||
|
||||
project.Views = []*ProjectView{
|
||||
list,
|
||||
gantt,
|
||||
table,
|
||||
kanban,
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user