fix(projects): do not create backlog bucket when duplicating views
This commit is contained in:
parent
092a65b025
commit
8a6689f4fa
@ -180,7 +180,7 @@ func duplicateViews(s *xorm.Session, pd *ProjectDuplicate, doer web.Auth, taskMa
|
||||
|
||||
view.ID = 0
|
||||
view.ProjectID = pd.Project.ID
|
||||
err = view.Create(s, doer)
|
||||
err = createProjectView(s, view, doer, false)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user