[release-11.5.2] Share: Fix short links when root_url is different from the browser URL (#100202)

Share: Fix short links when root_url is different from the browser URL (#99950)

Share: Fix short links when appUrl is misconfigured
(cherry picked from commit cd7c9f8666)

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2025-02-07 10:53:10 +01:00
committed by GitHub
co-authored by Agnès Toulet
parent b11b012240
commit 273a9b17c9
+1 -1
View File
@@ -70,7 +70,7 @@ export const createDashboardShareUrl = (dashboard: DashboardScene, opts: ShareLi
slug: dashboard.state.meta.slug,
currentQueryParams: location.search,
updateQuery: urlParamsUpdate,
absolute: true,
absolute: !opts.useShortUrl,
});
};