Commit a5dc2c90 by 张乐 Committed by GitHub

Merge pull request #278 from nobodyiam/namespace-concat-fix

ui logic fix
parents 7e920aeb d94cec17
......@@ -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