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:27 UTC
[superset] 01/01: handle lack of plugins
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,
};
}