feat(views): create default 4 default view for projects
This commit is contained in:
@ -789,6 +789,11 @@ func CreateProject(s *xorm.Session, project *Project, auth web.Auth, createBackl
|
||||
}
|
||||
}
|
||||
|
||||
err = CreateDefaultViewsForProject(s, project, auth)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
return events.Dispatch(&ProjectCreatedEvent{
|
||||
Project: project,
|
||||
Doer: doer,
|
||||
|
Reference in New Issue
Block a user