NOTICKET: Fix issues caused by merge
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Thu, 20 Apr 2017 14:59:43 +0000 (10:59 -0400)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Thu, 20 Apr 2017 14:59:43 +0000 (10:59 -0400)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/framework/core/api_utils/sockets.js
skyquake/framework/widgets/skyquake_container/skyquakeContainer.jsx

index 2e6779c..e2e4447 100644 (file)
@@ -92,6 +92,7 @@ Subscriptions.prototype.subscribe = function(req, callback) {
     var a = url.resolve(origin, req.baseUrl);
     var b = url.resolve(a, URL);
     URL = b;
+    console.log('DEBUG URL IS', URL);
   } else {
     protocol = protocol[1]
   }
index 8b61f4b..05a42db 100644 (file)
@@ -18,6 +18,7 @@
 import React from 'react';
 import AltContainer from 'alt-container';
 import Alt from './skyquakeAltInstance.js';
+ import _cloneDeep from 'lodash/cloneDeep';
 import SkyquakeNav from '../skyquake_nav/skyquakeNav.jsx';
 import EventCenter from './eventCenter.jsx';
 import SkyquakeContainerActions from './skyquakeContainerActions.js'
@@ -92,7 +93,7 @@ export default class skyquakeContainer extends React.Component {
     render() {
         const {displayNotification, notificationMessage, displayScreenLoader, notificationType, ...state} = this.state;
         var html;
-        let nav = _.cloneDeep(this.state.nav);
+        let nav = _cloneDeep(this.state.nav);
         if (this.matchesLoginUrl()) {
             html = (
                 <AltContainer>