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

yjc pushed a commit to branch home-screen-mvp
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 6d3e0121dc4df3ff71872e770cb0c530ebe79e96
Author: Phillip Kelley-Dotson <[email protected]>
AuthorDate: Mon Oct 26 17:24:46 2020 -0700

    lint fix
---
 .../spec/javascripts/views/CRUD/welcome/ActivityTable_spec.tsx      | 2 --
 superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx          | 6 +++++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/superset-frontend/spec/javascripts/views/CRUD/welcome/ActivityTable_spec.tsx 
b/superset-frontend/spec/javascripts/views/CRUD/welcome/ActivityTable_spec.tsx
index db1ec1f..eba5d66 100644
--- 
a/superset-frontend/spec/javascripts/views/CRUD/welcome/ActivityTable_spec.tsx
+++ 
b/superset-frontend/spec/javascripts/views/CRUD/welcome/ActivityTable_spec.tsx
@@ -24,12 +24,10 @@ import fetchMock from 'fetch-mock';
 import waitForComponentToPaint from 'spec/helpers/waitForComponentToPaint';
 import configureStore from 'redux-mock-store';
 import ActivityTable from 'src/views/CRUD/welcome/ActivityTable';
-import ListViewCard from 'src/components/ListViewCard';
 
 const mockStore = configureStore([thunk]);
 const store = mockStore({});
 
-const recentsEnpoint = 'glob:*/superset/recent_activity/*';
 const chartsEndpoint = 'glob:*/api/v1/chart/?*';
 const dashboardEndpoint = 'glob:*/api/v1/dashboard/?*';
 const savedQueryEndpoint = 'glob:*/api/v1/saved_query/?*';
diff --git a/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx 
b/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
index c515911..dc80ddf 100644
--- a/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
+++ b/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
@@ -147,7 +147,11 @@ export default function ActivityTable({ user }: 
ActivityProps) {
     getRecentAcitivtyObjs(user.userId, recent)
       .then(res => {
         const data: any = {
-          Created: [...res.createdByChart, ...res.createdByDash, 
...res.createdByQuery],
+          Created: [
+            ...res.createdByChart,
+            ...res.createdByDash,
+            ...res.createdByQuery,
+          ],
           Edited: [...res.editedChart, ...res.editedDash],
         };
         if (res.viewed) {

Reply via email to