提交 9ca5e2d8 编写于 作者: L lepdou

bugfix when create app namespace jump to permission page

上级 58fcb8ad
......@@ -33,8 +33,8 @@ public class AppNamespaceController {
throw new BadRequestException("app namespaces already exist.");
}
if (StringUtils.isEmpty(appNamespace.getFormat())){
appNamespace.setFormat(ConfigFileFormat.Properties.getValue());
if (StringUtils.isEmpty(entity.getFormat())){
entity.setFormat(ConfigFileFormat.Properties.getValue());
}
entity = appNamespaceService.createAppNamespace(entity);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册