NavBar: app chrome state wrongly overwritten when ds modal is opened (#67952)

This commit is contained in:
Juan Cabanas
2023-05-08 16:51:42 -03:00
committed by GitHub
parent da21473527
commit 24668137f8
9 changed files with 67 additions and 50 deletions

View File

@@ -76,4 +76,8 @@ export const generatePublicDashboardUrl = (accessToken: string): string => {
return `${getConfig().appUrl}public-dashboards/${accessToken}`;
};
export const generatePublicDashboardConfigUrl = (dashboardUid: string): string => {
return `/d/${dashboardUid}?shareView=public-dashboard`;
};
export const validEmailRegex = /^[A-Z\d._%+-]+@[A-Z\d.-]+\.[A-Z]{2,}$/i;