mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1357341
- Fix VariableView with new Reps bundle; r=jdescottes
MozReview-Commit-ID: GSOyL6Nx23Z --HG-- extra : rebase_source : c930c3f2fd8a7c71c8347872607389d4321e4171
This commit is contained in:
parent
eb02505b4c
commit
f9ffde2907
@ -21,13 +21,16 @@ VariablesViewLink.propTypes = {
|
||||
|
||||
function VariablesViewLink(props) {
|
||||
const { className, object, children } = props;
|
||||
|
||||
const classes = ["cm-variable"];
|
||||
if (className) {
|
||||
classes.push(className);
|
||||
}
|
||||
return (
|
||||
dom.a({
|
||||
onClick: openVariablesView.bind(null, object),
|
||||
// Context menu can use this actor id information to enable additional menu items.
|
||||
"data-link-actor-id": object.actor,
|
||||
className: className || "cm-variable",
|
||||
className: classes.join(" "),
|
||||
draggable: false,
|
||||
}, children)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user