parent
1a7591d7f9
commit
f44712f22b
2 changed files with 12 additions and 0 deletions
|
@ -59,6 +59,10 @@ func changeMilestoneAssign(ctx context.Context, doer *user_model.User, issue *is
|
|||
}
|
||||
}
|
||||
|
||||
if issue.MilestoneID == 0 {
|
||||
issue.Milestone = nil
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue