AnnoListPanel: Fix 'Within Time Range' option (#32439)

pull/32422/head
kay delaney 4 years ago committed by GitHub
parent 8a1431b472
commit 12ceff407b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      public/app/features/dashboard/dashgrid/PanelChrome.tsx

@ -209,7 +209,9 @@ export class PanelChrome extends Component<Props, State> {
});
} else {
// The panel should render on refresh as well if it doesn't have a query, like clock panel
this.onRender();
this.setState((prevState) => ({
data: { ...prevState.data, timeRange: this.timeSrv.timeRange() },
}));
}
};

Loading…
Cancel
Save