Inspect: Fix link to error tab from panel header (#26682)

This commit is contained in:
Torkel Ödegaard
2020-07-29 13:34:08 -07:00
committed by GitHub
parent 3075b71848
commit eb0b9de044
@@ -74,7 +74,7 @@ export class PanelHeaderCorner extends Component<Props> {
* Open the Panel Inspector when we click on an error
*/
onClickError = () => {
getLocationSrv().update({ partial: true, query: { inspect: this.props.panel.id, tab: InspectTab.Error } });
getLocationSrv().update({ partial: true, query: { inspect: this.props.panel.id, inspectTab: InspectTab.Error } });
};
renderCornerType(infoMode: InfoMode, content: PopoverContent, onClick?: () => void) {