feat: Don't show the row limit warning for embedded dashboards by default (#34095)

This commit is contained in:
Vitor Avila
2025-07-08 08:50:25 -03:00
committed by GitHub
parent 9c8fdc0fc1
commit 7ea1fca4f7
4 changed files with 111 additions and 3 deletions

View File

@@ -46,6 +46,7 @@ export type UiConfigType = {
urlParams?: {
[key: string]: any;
};
showRowLimitWarning?: boolean;
};
export type EmbedDashboardParams = {
@@ -133,6 +134,9 @@ export async function embedDashboard({
if (dashboardUiConfig.emitDataMasks) {
configNumber += 16;
}
if (dashboardUiConfig.showRowLimitWarning) {
configNumber += 32;
}
}
return configNumber;
}