mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Annotation Panel: Fix annotation with end time not being centered (#38423)
* 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>
This commit is contained in:
parent
64cb000d37
commit
1b3eecddcd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user