Annotation Panel: Fix annotation with end time not being centered (#38423) (#38438)

* Annotation Panel: Fix annotation with end time not being centered

* Update public/app/plugins/panel/annolist/AnnoListPanel.tsx

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
(cherry picked from commit 1b3eecddcd)

Co-authored-by: Villena Guillaume <contact@guillaumevillena.fr>
This commit is contained in:
Grot (@grafanabot)andVillena Guillaume authored and GitHub committed 2021-08-23 14:39:07 +02:00
1 parent 954f55785a
commit 98c540ce8a
1 file changed
+1 -1
@@ -140,7 +140,7 @@ export class AnnoListPanel extends PureComponent<Props, State> {
const params: any = {
from: this._timeOffset(anno.time, options.navigateBefore, true),
to: this._timeOffset(anno.time, options.navigateAfter, false),
to: this._timeOffset(anno.timeEnd ?? anno.time, options.navigateAfter, false),
};
if (options.navigateToPanel) {