From 6c093041f4ed07ff165ef9dbcdf9392ea13234a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20Zywert?= Date: Wed, 8 May 2024 22:13:51 +0200 Subject: [PATCH] fix calendar control on worklog list (#12) --- CHANGELOG.md | 7 ++++++- gojira/dayview.go | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 623ad1c..377a08d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [0.8.1] - 2024-05-08 +### Fixed +- Calendar control stopped working after introducing delete on worklog list + ## [0.8.0] - 2024-05-08 ### Added - `gojira worklogs` search bar - looks for a text or issue key if passed uppercased like `ISSUE-123` @@ -109,7 +113,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Added - Initial release of gojira -[Unreleased]: https://github.com/jzyinq/gojira/compare/0.8.0...master +[Unreleased]: https://github.com/jzyinq/gojira/compare/0.8.1...master +[0.8.1]: https://github.com/jzyinq/gojira/compare/0.8.0...0.8.1 [0.8.0]: https://github.com/jzyinq/gojira/compare/0.7.0...0.8.0 [0.7.0]: https://github.com/jzyinq/gojira/compare/0.6.0...0.7.0 [0.6.0]: https://github.com/jzyinq/gojira/compare/0.5.4...0.6.0 diff --git a/gojira/dayview.go b/gojira/dayview.go index 2654cf0..e0c81be 100644 --- a/gojira/dayview.go +++ b/gojira/dayview.go @@ -167,7 +167,7 @@ func (d *DayView) update() { }() default: } - return event + return controlCalendar(event) }) timeSpent := CalculateTimeSpent(getWorklogsFromWorklogIssues(logs)) d.worklogStatus.SetText(