You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/04/28 07:17:11 UTC
[superset] branch master updated: fix(native-filters): fix lint
(#14387)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new fc0c115 fix(native-filters): fix lint (#14387)
fc0c115 is described below
commit fc0c1155c28cd3b23e375052ccf12a5787f4befb
Author: simcha90 <56...@users.noreply.github.com>
AuthorDate: Wed Apr 28 10:16:21 2021 +0300
fix(native-filters): fix lint (#14387)
* fix:fix get permission function
* lint: fix types
---
superset-frontend/src/dashboard/types.ts | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/superset-frontend/src/dashboard/types.ts b/superset-frontend/src/dashboard/types.ts
index ddc5d8c..3ed1c18 100644
--- a/superset-frontend/src/dashboard/types.ts
+++ b/superset-frontend/src/dashboard/types.ts
@@ -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 */
@@ -59,7 +64,6 @@ export type RootState = {
dashboardState: DashboardState;
dashboardInfo: DashboardInfo;
dataMask: DataMaskStateWithId;
- dashboardInfo: JsonObject;
impressionId: string;
nativeFilters: NativeFiltersState;
};