Commit 9636d5f5 authored by Jason Song's avatar Jason Song Committed by GitHub

Misc changes (#2637)

* refactor app namespace duplicate message

* fix non-properties namespace display issue
parent cc6855cc
......@@ -178,7 +178,7 @@ public class AppNamespaceService {
private void checkPublicAppNamespaceGlobalUniqueness(AppNamespace appNamespace) {
AppNamespace publicAppNamespace = findPublicAppNamespace(appNamespace.getName());
if (publicAppNamespace != null) {
throw new BadRequestException("Public AppNamespace " + appNamespace.getName() + " already exists in appId: " + publicAppNamespace.getAppId() + "!");
throw new BadRequestException("AppNamespace " + appNamespace.getName() + " already exists as public namespace in appId: " + publicAppNamespace.getAppId() + "!");
}
}
......
......@@ -13,6 +13,11 @@ directive_module.directive('apollonav',
scope.pageSetting = setting;
});
// Looks like a trick to make xml/yml/json namespaces display right, but why?
$(document).on('click', function () {
scope.$apply(function () {});
});
$('#app-search-list').select2({
placeholder: '搜索项目(AppId、项目名)',
ajax: {
......
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