ONOS-3129 : GUI Intents to Topo :: part the third -- (bug fix) only navigate if a table row is selected.

Change-Id: I21950448c0f05df29edbdd3ba8068ebc8c028da0
diff --git a/web/gui/src/main/webapp/app/view/intent/intent.js b/web/gui/src/main/webapp/app/view/intent/intent.js
index 3ed9cf2..19f2c07 100644
--- a/web/gui/src/main/webapp/app/view/intent/intent.js
+++ b/web/gui/src/main/webapp/app/view/intent/intent.js
@@ -33,7 +33,7 @@
                     id = m ? m[1] : null,
                     name = m ? m[2] : null;
 
-                $scope.intentData = m ? {
+                $scope.intentData = ($scope.selId && m) ? {
                     intentAppId: id,
                     intentAppName: name,
                     intentKey: row.key
@@ -51,8 +51,7 @@
 
             $scope.showIntent = function () {
                 var d = $scope.intentData;
-                $log.debug("+++ showIntent +++", d);
-                ns.navTo('topo', d);
+                d && ns.navTo('topo', d);
             };
 
             $log.log('OvIntentCtrl has been created');