mirror of
https://github.com/go-gitea/gitea
synced 2024-12-30 19:25:57 +01:00
demilestone should not include milestone
This commit is contained in:
parent
f47fb4fbaf
commit
d53bf337dc
@ -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…
Reference in New Issue
Block a user