From c70c848b9cf17c11fd1fd59089195bb4b945be2b Mon Sep 17 00:00:00 2001 From: Blaine Schmeisser Date: Tue, 3 Jan 2017 18:09:22 -0800 Subject: [PATCH] Fix issue with overcounting plugins. --- app/containers/pluginWrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/containers/pluginWrapper.js b/app/containers/pluginWrapper.js index 8b83360b..797ecfa2 100644 --- a/app/containers/pluginWrapper.js +++ b/app/containers/pluginWrapper.js @@ -104,7 +104,7 @@ const PluginWrapper = React.createClass({ return new Plugin(plugin) } }) - this.setState({ plugins }) + this.setState({ plugins, loaded: 0 }) return Promise.all(plugins.map((pluginObj) => { return pluginObj.load().then(() => { this.setState({