File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const MonitorComponent = props => (
4545 // TW: if export is defined, we always show it, even outside of the editor
4646 disable = { ! props . draggable && ! props . onExport }
4747 holdToDisplay = { props . mode === 'slider' ? - 1 : 1000 }
48- id = { `monitor-${ props . label } ` }
48+ id = { `monitor-${ props . id } ` }
4949 >
5050 < Draggable
5151 bounds = ".monitor-overlay" // Class for monitor container
@@ -75,7 +75,7 @@ const MonitorComponent = props => (
7575 // positioning conflicts between the monitors `transform: scale` and
7676 // the context menus `position: fixed`. For more details, see
7777 // http://meyerweb.com/eric/thoughts/2011/09/12/un-fixing-fixed-elements-with-css-transforms/
78- < ContextMenu id = { `monitor-${ props . label } ` } >
78+ < ContextMenu id = { `monitor-${ props . id } ` } >
7979 { props . draggable && props . onSetModeToDefault &&
8080 < MenuItem onClick = { props . onSetModeToDefault } >
8181 < FormattedMessage
You can’t perform that action at this time.
0 commit comments