Skip to content

Commit

Permalink
fix: added 'title' prop in NativeFilterConfiguration when the filter …
Browse files Browse the repository at this point in the history
…is of type 'DIVIDER'.
  • Loading branch information
RoBYCoNTe committed Nov 18, 2022
1 parent 959c555 commit 07ed1ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superset-dashboard-sdk",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
"description": "Superset Dashboard visualization component with improved specs.",
"main": "build/index.js",
"private": false,
Expand Down
2 changes: 2 additions & 0 deletions src/DataProvider.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export type DashboardInfo = {

export type NativeFilterConfiguration = {
cascadeParentIds?: string[];

controlValues?: {
defaultToFirstItem?: boolean;
enableEmptyFilter?: boolean;
Expand Down Expand Up @@ -173,6 +174,7 @@ export type NativeFilterConfiguration = {
}
];
type: string;
title: string;
};
export type JsonMetadata = {
refresh_frequency?: number;
Expand Down

0 comments on commit 07ed1ec

Please sign in to comment.