Skip to content

Commit

Permalink
remove namespaceShowName uniqueness check (#8989)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhao26-nineteen authored Aug 18, 2022
1 parent 87d9efd commit bdf9d04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
7 changes: 0 additions & 7 deletions console-ui/src/components/NewNameSpace/NewNameSpace.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@ class NewNameSpace extends React.Component {
const { locale = {} } = this.props;
this.field.validate((errors, values) => {
if (errors) return;
const flag = this.state.dataSource.every(
val => val.namespaceShowName !== values.namespaceShowName
);
if (!flag) {
Dialog.alert({ content: locale.norepeat });
return;
}
this.disabled = true;
this.setState({
disabled: true,
Expand Down
4 changes: 2 additions & 2 deletions console/src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="console-ui/public/css/icon.css">
<link rel="stylesheet" type="text/css" href="console-ui/public/css/font-awesome.css">
<!-- 第三方css结束 -->
<link href="./css/main.css?8b47f7d064161d948b8c" rel="stylesheet"></head>
<link href="./css/main.css?d55d0acbe80d224a66fe" rel="stylesheet"></head>

<body>
<div id="root" style="overflow:hidden"></div>
Expand All @@ -56,6 +56,6 @@
<script src="console-ui/public/js/merge.js"></script>
<script src="console-ui/public/js/loader.js"></script>
<!-- 第三方js结束 -->
<script type="text/javascript" src="./js/main.js?8b47f7d064161d948b8c"></script></body>
<script type="text/javascript" src="./js/main.js?d55d0acbe80d224a66fe"></script></body>

</html>
6 changes: 3 additions & 3 deletions console/src/main/resources/static/js/main.js

Large diffs are not rendered by default.

0 comments on commit bdf9d04

Please sign in to comment.