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/08/16 05:49:22 UTC
[superset] 32/34: fix examples tab for dashboard (#16253)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch 1.3
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 6599262cfe2a2e1ace808fb5bb085c74a07ac618
Author: Phillip Kelley-Dotson <pk...@yahoo.com>
AuthorDate: Fri Aug 13 14:56:32 2021 -0700
fix examples tab for dashboard (#16253)
(cherry picked from commit a5dbe6a14d568f9057676b57b5cafd8d00f855ab)
---
superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx b/superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx
index 0c17e2c..3e04f93 100644
--- a/superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx
+++ b/superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx
@@ -143,6 +143,12 @@ function DashboardTable({
operator: 'dashboard_is_favorite',
value: true,
});
+ } else if (filterName === 'Examples') {
+ filters.push({
+ id: 'created_by',
+ operator: 'rel_o_m',
+ value: 0,
+ });
}
return filters;
};