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:19:16 UTC
[superset] branch dynamic-plugin-load-fix updated: clearer logic
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
The following commit(s) were added to refs/heads/dynamic-plugin-load-fix by this push:
new 322d540 clearer logic
322d540 is described below
commit 322d54099a9e396402e774c741f113d0b9b19e9d
Author: David Aaron Suddjian <aa...@gmail.com>
AuthorDate: Mon Feb 15 15:18:25 2021 -0800
clearer logic
---
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 88fc571..90f4ba7 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: !!action.keys.length,
+ loading: action.keys.length > 0,
plugins,
};
}