mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
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:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user