Commit d94cec17 by Jason Song

ui logic fix

parent 7e920aeb
......@@ -42,7 +42,8 @@ namespace_module.controller("LinkNamespaceController",
if (!$scope.appBaseInfo) {
return '';
}
return $scope.appBaseInfo.namespacePrefix + $scope.appNamespace.name;
return $scope.appBaseInfo.namespacePrefix +
($scope.appNamespace.name ? $scope.appNamespace.name : '');
};
var selectedClusters = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment