mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Panel inspect: Fix inspect keyboard shortcut when grafana served from subpath (#99366)
* Panel inspect: Fix inspect keyboard shortcut when grafana served from a subpath * Add e2e test
This commit is contained in:
@@ -105,7 +105,7 @@ export function setupKeyboardShortcuts(scene: DashboardScene) {
|
||||
keybindings.addBinding({
|
||||
key: 'i',
|
||||
onTrigger: withFocusedPanel(scene, async (vizPanel: VizPanel) => {
|
||||
locationService.push(getInspectUrl(vizPanel));
|
||||
locationService.push(locationUtil.stripBaseFromUrl(getInspectUrl(vizPanel)));
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user