Fixes plugin renderer in status line

The code assumed a plugin object was JS, but it's actually an immutable.
Calling `toJS` to fix.

Fixes #1825
This commit is contained in:
David Kaltschmidt
2016-08-30 16:53:22 +02:00
parent fd82651f96
commit 8ac4d0bb62

View File

@@ -27,7 +27,7 @@ class Plugins extends React.Component {
Plugins:
</span>
{hasPlugins && this.props.plugins.toIndexedSeq()
.map((plugin, index) => this.renderPlugin(plugin, index))}
.map(plugin => this.renderPlugin(plugin.toJS()))}
{!hasPlugins && <span className="plugins-empty">n/a</span>}
</div>
);