Skip to content

Commit

Permalink
fix(native-filters): fix lint (apache#14387)
Browse files Browse the repository at this point in the history
* fix:fix get permission function

* lint: fix types
  • Loading branch information
simcha90 authored Apr 28, 2021
1 parent 2486fd4 commit fc0c115
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions superset-frontend/src/dashboard/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ export type DashboardLayout = { [key: string]: LayoutItem };
export type DashboardLayoutState = { present: DashboardLayout };
export type DashboardState = { editMode: boolean; directPathToChild: string[] };
export type DashboardInfo = {
common: {
flash_messages: string[];
conf: JsonObject;
};
userId: string;
dash_edit_perm: boolean;
metadata: { show_native_filters: boolean };
metadata: { show_native_filters: boolean; chart_configuration: JsonObject };
};

/** Root state of redux */
Expand All @@ -59,7 +64,6 @@ export type RootState = {
dashboardState: DashboardState;
dashboardInfo: DashboardInfo;
dataMask: DataMaskStateWithId;
dashboardInfo: JsonObject;
impressionId: string;
nativeFilters: NativeFiltersState;
};
Expand Down

0 comments on commit fc0c115

Please sign in to comment.