You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ly...@apache.org on 2022/10/20 20:25:00 UTC

[superset] branch lyndsi/table-selected-visuals updated: Loader does not need to be exported

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

lyndsi pushed a commit to branch lyndsi/table-selected-visuals
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/lyndsi/table-selected-visuals by this push:
     new f8b8d36bc4 Loader does not need to be exported
f8b8d36bc4 is described below

commit f8b8d36bc451579b547b81d931c177812d7af66d
Author: lyndsiWilliams <kc...@gmail.com>
AuthorDate: Thu Oct 20 15:24:38 2022 -0500

    Loader does not need to be exported
---
 .../views/CRUD/data/dataset/AddDataset/LeftPanel/index.tsx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/superset-frontend/src/views/CRUD/data/dataset/AddDataset/LeftPanel/index.tsx b/superset-frontend/src/views/CRUD/data/dataset/AddDataset/LeftPanel/index.tsx
index 5b4104f782..0a1ed77c86 100644
--- a/superset-frontend/src/views/CRUD/data/dataset/AddDataset/LeftPanel/index.tsx
+++ b/superset-frontend/src/views/CRUD/data/dataset/AddDataset/LeftPanel/index.tsx
@@ -127,13 +127,6 @@ const LeftPanelStyle = styled.div`
 `}
 `;
 
-export const Loader = (inline: string) => (
-  <div className="loading-container">
-    <Loading position="inline" />
-    <p>{inline}</p>
-  </div>
-);
-
 export default function LeftPanel({
   setDataset,
   schema,
@@ -230,6 +223,13 @@ export default function LeftPanel({
     option?.value?.toLowerCase().includes(searchVal.toLowerCase()),
   );
 
+  const Loader = (inline: string) => (
+    <div className="loading-container">
+      <Loading position="inline" />
+      <p>{inline}</p>
+    </div>
+  );
+
   return (
     <LeftPanelStyle>
       <p className="section-title db-schema">Select database & schema</p>