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

This commit is contained in:
Torkel Ödegaard authored and GitHub committed 2020-07-29 13:34:08 -07:00
1 parent 3075b71848
commit eb0b9de044
1 file changed
+1 -1
@@ -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) {