Skip to content

Commit c4af8e3

Browse files
authored
monitor.jsx -- try using id instead of label
1 parent dbbd5da commit c4af8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/monitor/monitor.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const MonitorComponent = props => (
6666
// positioning conflicts between the monitors `transform: scale` and
6767
// the context menus `position: fixed`. For more details, see
6868
// http://meyerweb.com/eric/thoughts/2011/09/12/un-fixing-fixed-elements-with-css-transforms/
69-
<ContextMenu id={`monitor-${props.label}`}>
69+
<ContextMenu id={`monitor-${props.id}`}>
7070
{props.draggable && props.onSetModeToDefault &&
7171
<MenuItem onClick={props.onSetModeToDefault}>
7272
<FormattedMessage

0 commit comments

Comments
 (0)