Merge pull request #1408 from coralproject/plugins-debug

Fixes for the plugin config and plugins debug
This commit is contained in:
Kim Gardner
2018-02-28 16:34:01 -05:00
committed by GitHub
+2 -1
View File
@@ -72,7 +72,8 @@ class Slot extends React.Component {
} = this.props;
const { plugins } = this.context;
let children = this.getChildren();
const pluginConfig = get(reduxState, 'config.pluginConfig') || emptyConfig;
const pluginConfig =
get(reduxState, 'config.plugins_config') || emptyConfig;
if (children.length === 0 && DefaultComponent) {
const props = plugins.getSlotComponentProps(
DefaultComponent,