You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yj...@apache.org on 2020/10/29 05:44:56 UTC

[incubator-superset] 13/33: remove consoles

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 faf395e17cfb857988cd6bba02c7dfffb369b675
Author: Phillip Kelley-Dotson <pk...@yahoo.com>
AuthorDate: Thu Oct 8 14:41:08 2020 -0700

    remove consoles
---
 superset-frontend/src/views/CRUD/utils.tsx | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/superset-frontend/src/views/CRUD/utils.tsx b/superset-frontend/src/views/CRUD/utils.tsx
index bd6e9f0..6caabb9 100644
--- a/superset-frontend/src/views/CRUD/utils.tsx
+++ b/superset-frontend/src/views/CRUD/utils.tsx
@@ -63,16 +63,8 @@ export const createBatchMethod = (queryParams: string, created?: string) => {
       SupersetClient.get({ endpoint: `/api/v1/saved_query/?q=${queryParams}` }),
     );
   return Promise.all(baseBatch).then(([dashboardRes, chartRes, savedQuery]) => {
-    console.log('dashboard', dashboardRes);
-    console.log('chartRes', chartRes);
-    console.log('savedQuery', savedQuery);
     const results = [];
     const ifQuery = savedQuery ? savedQuery.json?.result.slice(0, 3) : [];
-    console.log('-----slices--------');
-    console.log(dashboardRes?.json?.result.slice(0, 3));
-    console.log(chartRes?.json?.result.slice(0, 3));
-    console.log(ifQuery);
-    console.log('-----END Slices--------');
     results.push(
       ...[
         ...dashboardRes.json?.result.slice(0, 3),
@@ -80,7 +72,6 @@ export const createBatchMethod = (queryParams: string, created?: string) => {
         ...ifQuery,
       ],
     );
-    console.log('result', results);
     return results;
   });
 };