edit descriptor model for composer rbac fix
[osm/UI.git] / skyquake / plugins / composer / src / src / components / DetailsPanel.js
index a20679f..37fc17b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * 
+ *
  *   Copyright 2016 RIFT.IO Inc
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
@@ -50,6 +50,10 @@ const DetailsPanel = React.createClass({
        },
        componentWillUnmount() {
        },
+       contextTypes: {
+           router: React.PropTypes.object,
+           userProfile: React.PropTypes.object
+       },
        render() {
                let json = '{}';
                let bodyComponent =  messages.detailsWelcome();