Skip to content

Commit

Permalink
Fix the issue that the length of private namespaces are mis-calculated
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam committed Jan 21, 2024
1 parent 0c21659 commit c6a84b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Apollo 2.3.0
------------------
* [Fix circular references on LdapAutoConfiguration](https://github.com/apolloconfig/apollo/pull/5055)
* [Add comment for clusters and UI display](https://github.com/apolloconfig/apollo/pull/5072)
* [Fix the issue that the length of private namespaces are mis-calculated](https://github.com/apolloconfig/apollo/pull/5078)


------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ namespace_module.controller("LinkNamespaceController",
};

function shouldAppendNamespacePrefix() {
return $scope.appendNamespacePrefix;
return $scope.appNamespace.isPublic ? $scope.appendNamespacePrefix : false;
}

var selectedClusters = [];
Expand Down

0 comments on commit c6a84b4

Please sign in to comment.