diff options
author | Norwin <noerw@users.noreply.github.com> | 2021-02-19 10:52:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 12:52:11 +0200 |
commit | d38ae597e19f58bcd732717fe09c1ea97ab8bb12 (patch) | |
tree | 839f0b3c92a4b98a7be3b8aa316925615c16c76e /models/issue_stopwatch.go | |
parent | 6a696b93b1e7e9dc1e7cc51d4eab2932b072170f (diff) | |
download | gitea-d38ae597e19f58bcd732717fe09c1ea97ab8bb12.tar.gz gitea-d38ae597e19f58bcd732717fe09c1ea97ab8bb12.zip |
Add UI to delete tracked times (#14100)
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'models/issue_stopwatch.go')
-rw-r--r-- | models/issue_stopwatch.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/issue_stopwatch.go b/models/issue_stopwatch.go index a1c88503d8..19bd4ab2c5 100644 --- a/models/issue_stopwatch.go +++ b/models/issue_stopwatch.go @@ -100,6 +100,7 @@ func CreateOrStopIssueStopwatch(user *User, issue *Issue) error { Repo: issue.Repo, Content: SecToTime(timediff), Type: CommentTypeStopTracking, + TimeID: tt.ID, }); err != nil { return err } |