mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
Make Explore panel link work when grafana served from sub url (#22202)
* Make explore url work when grafana served from sub url * Update public/app/core/utils/explore.ts
This commit is contained in:
parent
565387a42e
commit
fa34a7692e
@ -108,8 +108,7 @@ export async function getExploreUrl(args: GetExploreUrlArguments) {
|
|||||||
const exploreState = JSON.stringify({ ...state, originPanelId: panel.id });
|
const exploreState = JSON.stringify({ ...state, originPanelId: panel.id });
|
||||||
url = renderUrl('/explore', { left: exploreState });
|
url = renderUrl('/explore', { left: exploreState });
|
||||||
}
|
}
|
||||||
const finalUrl = config.appSubUrl + url;
|
return url;
|
||||||
return finalUrl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function buildQueryTransaction(
|
export function buildQueryTransaction(
|
||||||
|
Loading…
Reference in New Issue
Block a user