From 98ef07bcb0eb53f57bbca0441a9432ead23750d7 Mon Sep 17 00:00:00 2001 From: Alex Khomenko Date: Tue, 30 Sep 2025 19:03:59 +0300 Subject: [PATCH] Snapshots: Use appSubUrl for View all snapshots (#111652) * Snapshots: Use appSubUrl for View all snapshots * Add back external attr --- .../sharing/ShareButton/share-snapshot/ShareSnapshot.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app/features/dashboard-scene/sharing/ShareButton/share-snapshot/ShareSnapshot.tsx b/public/app/features/dashboard-scene/sharing/ShareButton/share-snapshot/ShareSnapshot.tsx index 75861e9ee92..5c72fc78d3f 100644 --- a/public/app/features/dashboard-scene/sharing/ShareButton/share-snapshot/ShareSnapshot.tsx +++ b/public/app/features/dashboard-scene/sharing/ShareButton/share-snapshot/ShareSnapshot.tsx @@ -3,6 +3,7 @@ import useAsyncFn from 'react-use/lib/useAsyncFn'; import { selectors as e2eSelectors } from '@grafana/e2e-selectors'; import { Trans, t } from '@grafana/i18n'; +import { config } from '@grafana/runtime'; import { SceneComponentProps } from '@grafana/scenes'; import { Alert, Button, ClipboardButton, Spinner, Stack, TextLink } from '@grafana/ui'; import { contextSrv } from 'app/core/services/context_srv'; @@ -109,7 +110,7 @@ function ShareSnapshotRenderer({ model }: SceneComponentProps) { /> ) )} - + {t('snapshot.share.view-all-button', 'View all snapshots')}