Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/monitor/list-monitor-scroller.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ListMonitorScroller extends React.Component {
rowRenderer ({index, key, style}) {
const item = this.props.values[index];
const renderedValue = item.toListItem
? item.toListItem()
? item.toListItem(index)
: item.toMonitorContent
? item.toMonitorContent()
: item.toReporterContent
Expand Down
2 changes: 1 addition & 1 deletion src/lib/monitor-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function ({id, spriteName, opcode, params, value, vm}) {
if (typeof value === 'object' &&
typeof (value.toMonitorContent || value.toReporterContent) === 'function') {
value = value.toMonitorContent
? value.toMonitorContent()
? value.toMonitorContent(id)
: value.toReporterContent();
isHTML = true;
}
Expand Down