You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by pk...@apache.org on 2021/08/13 21:57:43 UTC

[superset] branch master updated: fix examples tab for dashboard (#16253)

This is an automated email from the ASF dual-hosted git repository.

pkdotson 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 a5dbe6a  fix examples tab for dashboard (#16253)
a5dbe6a is described below

commit a5dbe6a14d568f9057676b57b5cafd8d00f855ab
Author: Phillip Kelley-Dotson <pk...@yahoo.com>
AuthorDate: Fri Aug 13 14:56:32 2021 -0700

    fix examples tab for dashboard (#16253)
---
 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;
   };