PublicDashboards: Configuration link from item list fixed (#74352)
This commit is contained in:
+2
-1
@@ -2,6 +2,7 @@ import { getConfig } from 'app/core/config';
|
||||
import { VariableModel } from 'app/features/variables/types';
|
||||
|
||||
import { PanelModel } from '../../../state';
|
||||
import { shareDashboardType } from '../utils';
|
||||
|
||||
import { supportedDatasources } from './SupportedPubdashDatasources';
|
||||
|
||||
@@ -77,7 +78,7 @@ export const generatePublicDashboardUrl = (accessToken: string): string => {
|
||||
};
|
||||
|
||||
export const generatePublicDashboardConfigUrl = (dashboardUid: string): string => {
|
||||
return `/d/${dashboardUid}?shareView=public-dashboard`;
|
||||
return `/d/${dashboardUid}?shareView=${shareDashboardType.publicDashboard}`;
|
||||
};
|
||||
|
||||
export const validEmailRegex = /^[A-Z\d._%+-]+@[A-Z\d.-]+\.[A-Z]{2,}$/i;
|
||||
|
||||
Reference in New Issue
Block a user