You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by su...@apache.org on 2021/02/15 23:16:26 UTC

[superset] branch dynamic-plugin-load-fix created (now 6fa50df)

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

suddjian pushed a change to branch dynamic-plugin-load-fix
in repository https://gitbox.apache.org/repos/asf/superset.git.


      at 6fa50df  handle lack of plugins

This branch includes the following new commits:

     new 6fa50df  handle lack of plugins

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: handle lack of plugins

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

suddjian pushed a commit to branch dynamic-plugin-load-fix
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 6fa50df3601a2914b027373ad7ec3fe01e6898d0
Author: David Aaron Suddjian <aa...@gmail.com>
AuthorDate: Thu Feb 11 23:43:25 2021 -0800

    handle lack of plugins
---
 superset-frontend/src/components/DynamicPlugins/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/components/DynamicPlugins/index.tsx b/superset-frontend/src/components/DynamicPlugins/index.tsx
index 52570fe..88fc571 100644
--- a/superset-frontend/src/components/DynamicPlugins/index.tsx
+++ b/superset-frontend/src/components/DynamicPlugins/index.tsx
@@ -87,7 +87,7 @@ function pluginContextReducer(
       });
       return {
         ...state,
-        loading: true,
+        loading: !!action.keys.length,
         plugins,
       };
     }