Skip to content

Commit b6e9a35

Browse files
authored
feat: showRowLimitWarning config (#34)
1 parent 367809f commit b6e9a35

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@preset-sdk/embedded",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Frontend SDK for embedding Preset data analytics into your own application",
55
"access": "public",
66
"keywords": [

src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ export type UiConfigType = {
2525
}
2626
urlParams?: {
2727
[key: string]: any
28-
}
28+
};
29+
showRowLimitWarning?: boolean;
2930
}
3031

3132
export type EmbedDashboardParams = {
@@ -115,6 +116,9 @@ export async function embedDashboard({
115116
if (dashboardUiConfig.emitDataMasks) {
116117
configNumber += 16
117118
}
119+
if (dashboardUiConfig.showRowLimitWarning) {
120+
configNumber += 32;
121+
}
118122
}
119123
return configNumber
120124
}

0 commit comments

Comments
 (0)